theislab / trVAE

Conditional out-of-distribution prediction
MIT License
53 stars 11 forks source link

AttributeError: module 'trvae.models' has no attribute 'trVAE' #9

Closed gauravj49 closed 3 years ago

gauravj49 commented 3 years ago

Hi trVAE team,

I am using trVAE for batch correction. It was working fine until last month but I started to get the below error recently.

AttributeError: module 'trvae.models' has no attribute 'trVAE'

I can see that there are new classes but no class trVAE. Could you please recommend which one I can use?

module versions:

Thanks for the help.

M0hammadL commented 3 years ago

dear @gauravj49, thanks a lot for posting this, we refactored the whole code. could you please install the latest the version of the repo or pip and follow this tutorial.

gauravj49 commented 3 years ago

Thank you @M0hammadL . I was able to make it work successfully.