-
Notifications
You must be signed in to change notification settings - Fork 7.1k
What is the relationship between the output label of pretrained model in model zoo and wordnet synset id? #484
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
Comments
You can find an example here. You will need two files: |
Thank you for your help, they are exactly what i need, as torchvision modules itself didn't provide any documentations on this. |
I think we should provide somewhere the mapping between the class names and the indices. Not sure if it should be in |
That's great! i think it will be torchvision to provide those mapping, and |
I think this totally make sense to provide this mapping. |
+1 would appreciate a model.class_ method or model.labels_ kind of like sklearn. Developers can easily see the mapping between output labels and index. May be this feature already exists? Would love to know how to do it. Thanks! |
|
I think that class names (i.e. a map |
Uh oh!
There was an error while loading. Please reload this page.
we can easily access pytorch pre-trained model like VGG, AlexNet and SqueezeNet by
can anyone point out what's the relationship between the output label(index of maximum output value) and the actual category?
i downloaded ILSVRC2012_devkit_t12 and got the imagenet id and other metainfo provided by meta.mat, however it seems pre-trained model have some different id. because when i evaluate the network with ILSVRC2012 validation set, it reports 100% error.
The text was updated successfully, but these errors were encountered: