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

i want to know how to use the test.py #26

Closed
qiuxiaolong857 opened this issue Jul 22, 2022 · 1 comment
Closed

i want to know how to use the test.py #26

qiuxiaolong857 opened this issue Jul 22, 2022 · 1 comment

Comments

@qiuxiaolong857
Copy link

After l train the model,i want to start test in ELR plus,but when the code in 'checkpoint = torch.load(config.resume,map_location='cpu')',the bug said it invalid load key, '{' so the test could't read the resume file? how to solve it? the resume path 'dir/to/model/models/cifar10_ELR_plus_PreActResNet18_sym_80/0721_205920/config.json'

@shengliu66
Copy link
Owner

You need to specify the directory to the model correctly.

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