ppdebreuck / modnet

MODNet: a framework for machine learning materials properties
MIT License
80 stars 34 forks source link

Fast Featurization Download Forbidden in Google Colab #222

Closed AndrewFalkowski closed 4 months ago

AndrewFalkowski commented 4 months ago

Hi there, I am attempting to use the fast featurization tools within a google colab notebook and am running into an issue where the figshare download for the featurized database is forbidden.

Cell code:

md.featurize(fast=True, n_jobs=8)

Output:

2024-07-01 23:09:48,489 - modnet - INFO - Computing features, this can take time...
INFO:modnet:Computing features, this can take time...
2024-07-01 23:09:48,507 - modnet - INFO - Fast featurization on, retrieving from database...
INFO:modnet:Fast featurization on, retrieving from database...
2024-07-01 23:09:48,510 - modnet - INFO - Downloading featurized dataset MP_210321 from https://figshare.com/ndownloader/files/33177986 into /usr/local/lib/python3.10/dist-packages/modnet/data/feature_database_v2 
 This may take some time...
INFO:modnet:Downloading featurized dataset MP_210321 from https://figshare.com/ndownloader/files/33177986 into /usr/local/lib/python3.10/dist-packages/modnet/data/feature_database_v2 
 This may take some time...

...
ValueError: There was a problem downloading https://figshare.com/ndownloader/files/33177986: Forbidden

I was able to download the db file from the link so it appears to be a colab specific issue. As the db_file argument is now depreciated, I'm not sure what the right work around for this is. Any advice or recommendations?

AndrewFalkowski commented 4 months ago

Seemed to be a one off issue, started working after kernel restart. Closing.