snap-stanford / GEARS

GEARS is a geometric deep learning model that predicts outcomes of novel multi-gene perturbations
MIT License
189 stars 38 forks source link

error: model_initialize() got an unexpected keyword argument 'cell_fitness_pred' when running "Using Trained Model" tutorial #37

Closed xwanaf closed 9 months ago

xwanaf commented 10 months ago

Hi,

Thank you for your wonderful work! However, when I follow the tutorial "Using Trained Model", I encounter the error

model_initialize() got an unexpected keyword argument 'cell_fitness_pred'

Perhaps this is because of the differences in version of gears. I found that the parameter cell_fitness_pred disappeared in the current version. Can you give some suggestions for this situation?

docmab23 commented 10 months ago

Tried downgrading the version to 0.0.1, that didn't help.

yhr91 commented 9 months ago

Thanks for your comment! The Colab works if you downgrade to 0.0.4. I've updated the Colab, let me know if it still doesn't work for you

yhr91 commented 2 weeks ago

The Colab has now been updated and works out of the box with the up to date version of GEARS. No downgrading needed