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

Evaluation on CIFAR100 #5

Closed
nahidq opened this issue May 17, 2021 · 2 comments
Closed

Evaluation on CIFAR100 #5

nahidq opened this issue May 17, 2021 · 2 comments

Comments

@nahidq
Copy link

nahidq commented May 17, 2021

Hi,
Thanks for sharing your code. I want to do an evaluation on cifar100 I used the following net and weight but I got a mismatch error while loading state_dict.

--load_path ./model_zoo/model_cifar100_cls_res18.pth --net resnet18_cifar
and
--load_path ./model_zoo/model_cifar100.pth - -net WideResNet
could you please tell me which net and model I should use for CIFAR100?
Thanks

@niuchuangnn
Copy link
Owner

@nahidq You should use '--widen_factor 8 --net WideResNet' for cifar100 as in FixMatch, '--all 1 --load_path ./model_zoo/model_cifar100.pth' for testing on the whole dataset, and '--all 0 --load_path ./model_zoo/model_cifar100_cls.pth' for testing on the test dataset.

@nahidq
Copy link
Author

nahidq commented May 17, 2021

Thanks!

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

2 participants