-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing classmethod decorator on from_pretrained methods #597
Labels
Comments
In the fixed issue #224 the model has first to be instantiated and than the method called.
|
@FlorianMF Thank you for reporting the issue. We recently fixed the docs in #557, so could you have a look at the latest docs? related: #200 Feel free to reopen this issue if there's still any problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Bug
The method from_pretrained in at least AE (basic_ae_module.py) and VAE (basic_vae_module.py) should be a classmethod to instantiate an object using this method.
Momentarily calling this method returns TypeError: from_pretrained() missing 1 required positional argument: 'checkpoint_name'.
Environment
The text was updated successfully, but these errors were encountered: