scvi.hub.HubMetadata#
- class scvi.hub.HubMetadata(scvi_version, anndata_version, training_data_url=None, model_parent_module='scvi.model')[source]#
Encapsulates the required metadata for scvi-tools hub models.
- Parameters:
scvi_version (str) – The version of scvi-tools that the model was trained with.
anndata_version (str) – The version of anndata used during model training.
training_data_url (Optional[str]) – Link to the training data used to train the model, if it is too large to be uploaded to the hub. This can be a cellxgene explorer session url. However it cannot be a self-hosted session – it must be from the cellxgene portal (https://cellxgene.cziscience.com/).
model_parent_module (str) – The parent module of the model class. Defaults to scvi.model. Change this if you are using a model class that is not in the scvi.model module, for example, if you are using a model class from a custom module.
Attributes table#
Methods table#
|
Create a HubMetadata object from a local directory. |
Attributes#
model_parent_module
training_data_url
scvi_version
anndata_version
Methods#
from_dir