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

Custom # of channels from new PR not working #93

Closed
s-rog opened this issue Oct 18, 2019 · 1 comment
Closed

Custom # of channels from new PR not working #93

s-rog opened this issue Oct 18, 2019 · 1 comment

Comments

@s-rog
Copy link

s-rog commented Oct 18, 2019

EfficientNet.from_pretrained("efficientnet-b{}".format(bN),
                                               num_classes=6,
                                               in_channels=channels)
TypeError: from_pretrained() got an unexpected keyword argument 'in_channels'

might have to do with the fact that there are 2 from_pretrained() methods? not exactly sure

Edit: I made some changes in my fork, will post a PR once I have time to test it

@s-rog
Copy link
Author

s-rog commented Oct 18, 2019

#94 Fixed this issue and tweaked from_name as well

@s-rog s-rog closed this as completed Oct 20, 2020
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

1 participant