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

two " def from_pretrained " function ? #128

Closed
alicera opened this issue Jan 9, 2020 · 2 comments
Closed

two " def from_pretrained " function ? #128

alicera opened this issue Jan 9, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@alicera
Copy link

alicera commented Jan 9, 2020

in the efficientnet_pytorch/model.py , it has two function " from_pretrained "
what is the different?

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

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

@lukemelas
Copy link
Owner

Sorry about that! That's an error introduced in the last merge. I'll fix it in the next update to the repo.

Best,
Luke

@lukemelas lukemelas added the bug Something isn't working label Jan 9, 2020
@lukemelas
Copy link
Owner

Bug squashed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants