Replies: 1 comment
-
It wasn't in a pypi release until 10 min ago. Will be there now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use
`
num_classes = 10
model = timm.create_model('dm_nfnet_f3', pretrained=True, num_classes=num_classes)
`
And get error
`
57 model = create_fn(**model_args, **kwargs)
58 else:
---> 59 raise RuntimeError('Unknown model (%s)' % model_name)
60
61 if checkpoint_path:
RuntimeError: Unknown model (dm_nfnet_f3)
`
EDIT:
Solved.
Download project from github to your project folder and use it like this
`
from downloaded_project_folder.timm.models import factory
num_classes = 10
model = factory.create_model('dm_nfnet_f3', pretrained=True, num_classes=num_classes)
`
Beta Was this translation helpful? Give feedback.
All reactions