You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, this is because SCVI is not an instance of torch.nn.Module. For this, you would need to call model.module.eval. However, this is not necessary in this case as we already call eval in our load function here.
Hello ,
I used the following code to save and load scvi model:
model.save("my_model/")
model = scvi.model.SCVI.load("my_model/", adata=adata)
model.eval()
But when I apply eval() to the model I get this error:
'SCVI' object has no attribute 'eval'
The text was updated successfully, but these errors were encountered: