Skip to content
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

from_pretrained function with in_channels attribute can not be called #131

Closed
arthurnage opened this issue Jan 20, 2020 · 1 comment
Closed

Comments

@arthurnage
Copy link

def from_pretrained(cls, model_name, num_classes=1000, in_channels = 3):

That is because function def from_pretrained(cls, model_name, num_classes=1000): at line 219 overwrites it.

@lukemelas
Copy link
Owner

Yes, thanks for the issue. This was brought up in #128. It should now be fixed. Let me know if you have any issues! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants