-
Notifications
You must be signed in to change notification settings - Fork 374
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
Model hyperparameter tuning with autotune fails on colab tutorial #3055
Comments
Hi, could you please refer to the tutorial for 1.2.0: https://docs.scvi-tools.org/en/1.2.0/tutorials/notebooks/tuning/autotune_scvi.html. Best! |
Thank you. I am trying to discover the tunable parameters for a model according to the tutorial as below: 'Our main entry point to the autotune module is the ModelTuner class, a wrapper around ray.tune.Tuner with additional functionality specific to scvi-tools. We can define a new ModelTuner by providing it with our model class.ModelTuner will register all tunable hyperparameters in SCVI – these can be viewed by calling info(). By default, this method will display three tables: Tunable hyperparameters: The names of hyperparameters that can be tuned, their default values, and the internal classes they are defined in. tuner = autotune.ModelTuner(model_cls)
tuner.info() However this leads to the error above. Thanks again for your help with this. |
You can now tune all model parameters. It is not required anymore to define a parameter as tunable in the model. The tutorial that I shared highlights how to set up the search space. |
Thanks previously tuner.info() had created a nice table of default values for a given model, which was helpful to choose the search space, which is mentioned in the tutorial page you linked, but I can't access it. Is that paragraph of the tutorial still correct? |
This function is not supported anymore and now that all arguments are accessible it doesn't make sense anymore as the table will get quite large. We prefer exposing every parameter to ray.tune. |
Model hyperparameter tuning with scVI tutorial fails to run on colab tutorial page (https://docs.scvi-tools.org/en/1.0.0/tutorials/notebooks/autotune_scvi.html).
Versions:
1.2.0
The text was updated successfully, but these errors were encountered: