Skip to content

Model hyperparameter tuning with autotune fails on colab tutorial #3055

@alexclarke7

Description

@alexclarke7

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).

!pip install --quiet hyperopt
!pip install --quiet "ray[tune]"
!pip install --quiet scvi-colab
from scvi_colab import install

install()

model_cls = scvi.model.SCVI
model_cls.setup_anndata(adata)

scvi_tuner = autotune.ModelTuner(model_cls)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[180], line 1
----> 1 tuner = autotune.ModelTuner(model_cls)

AttributeError: module 'scvi.autotune' has no attribute 'ModelTuner'

Versions:

VERSION

1.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions