Open jmchan88 opened 1 year ago
Hey @jmchan88! Sorry for the late reply here. During our experiments we saved/loaded contrastiveVI models using the standard torch.save
and torch.load
interface, and didn't end up testing out the scvi
save/load interface.
We're currently working on moving contrastiveVI over to the scvi-tools codebase (see https://github.com/scverse/scvi-tools/issues/2242), and should have the scvi save/load interface implemented as part of that PR. Please let us know if you have further questions.
Hey ContrastiveVI team!
I'm super excited to try out your method! I ran ContrastiveVI and saved the model, presuming that the model would have similar scVI saving and loading capabilities, as below:
without any error. But now that I try to load it using:
I get the following error:
Is there any way to save and load the ContrastiveVI model? Thanks so much!