-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tutorial_inference_Norman.ipynb is out-of-date #44
Comments
Sorry for the dealyed response! I've updated the tutorial files and this should now work out of the box. |
I am still getting this error as of 2024/10/07: >>> gears_model.load_pretrained('./model_ckpt')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/users/fero3l/env/gears/lib/python3.10/site-packages/gears/gears.py", line 257, in load_pretrained
self.model_initialize(**config)
TypeError: GEARS.model_initialize() got an unexpected keyword argument 'cell_fitness_pred' |
Hi! I want to join in this conversation as well, because I was trying to replicate Fig. 4 and Fig. 5b from the paper as I wanted to create the predictions' metrics heatmap for my own data, and I got the exact same error when loading the Norman pretrained model. I will try with another dataset but maybe it's something related to the Norman one. |
@ManuelMoradiellos the
|
@jzqin thanks for your comment and for you help! Even though I was able to install all packages needed to run the Are those the correct link to run the same code or were they updated in some regard? Bests Edit: I leave my mistake here, as I just noticed that it was clearly stated in the notebooks/code that in order to replicate the results we first need to train the model and then run the predictions, there's no pretrained model for the |
When trying to run the
tutorial_inference_Norman.ipynb
file, loading the pretrained model generates the following error:This is because the
model.py
file was updated with the commit8da5e36
, which removed thecell_fitness_pred
argument, but the model checkpoint provided viadataverse_download('https://dataverse.harvard.edu/api/access/datafile/6979956', './model.zip')
does not use the updated model.The text was updated successfully, but these errors were encountered: