Closed alexclarke7 closed 2 days ago
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:
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. Available metrics: The metrics that can be used to evaluate the performance of the model. One of these must be provided when running the tuner. Default search space: The default search space for the model class, which will be used if no search space is provided by the user.' ###
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. @ori-kron-wis Can you remove this sentence from the tutorial?
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