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

what is the difference efficientnet_pytorch and timm.create_model?? #164

Closed
SlowMonk opened this issue Jan 7, 2021 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@SlowMonk
Copy link

SlowMonk commented Jan 7, 2021

try to do the classification with efficnetnet-D0.
and found there is two way to do this

    model = timm.create_model('tf_efficientnet_b0_ns', pretrained=True, num_classes=num_classes)

        from efficientnet_pytorch import EfficientNet
        self.efficientnet = EfficientNet.from_pretrained(args.model_name) 

the timm model's speed is much faster. what is the difference between thouse two?

@SlowMonk SlowMonk added the enhancement New feature or request label Jan 7, 2021
@rwightman
Copy link
Owner

Q for the forums

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

No branches or pull requests

2 participants