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

Can we find the teacher_weights somewhere? #8

Closed
Luodian opened this issue Jul 12, 2021 · 2 comments
Closed

Can we find the teacher_weights somewhere? #8

Luodian opened this issue Jul 12, 2021 · 2 comments

Comments

@Luodian
Copy link

Luodian commented Jul 12, 2021

When I run your scripts "reviewKD.sh" and "baseline.sh" in Cifar100. There's FileNotFoundError:

FileNotFoundError: [Errno 2] No such file or directory: 'checkpoints/cifar100_wrn-40-2__baseline1_best.pt'
Namespace(T=4.0, batch_size=128, ce_loss_weight=1.0, dataset='cifar100', epochs=240, gamma=0.1, kd_loss_weight=5.0, kd_warm_up=20.0, kl_loss_weight=1.0, lr=0.1, lr_adjust_step=[150, 180, 210], model='wrn-40-1', resume='', seed=148, suffix='reviewkd1', teacher='wrn-40-2', teacher_weight='checkpoints/cifar100_wrn-40-2__baseline1_best.pt', test=False, use_kl=False, wd=0.0005)

Where could I find those weights or can you release the related teacher weights so that we can download and better configure our experiment environment.

@akuxcw
Copy link
Collaborator

akuxcw commented Jul 12, 2021

Hi, we didn't provide pretrained teachers for cifar-100 now. Because it's easy and fast to train a teacher by yourself. You can train the wrn-40-2 teacher using this command. If you find any problem to train the teacher. We will consider uploading the teacher weights.

@Luodian
Copy link
Author

Luodian commented Jul 12, 2021

Thanks!

@Luodian Luodian closed this as completed Jul 12, 2021
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