-
Notifications
You must be signed in to change notification settings - Fork 68
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
Miss match for the loaded weight and model? #19
Comments
It seems that the model does not match the pre-trained weight. |
python3 finetune.py \
--model_name mobilenetv1 \
--num_classes 1000 \
--checkpoint models/ckpt/imagenet_mobilenet_full_model.pth \
--gpu_ids 0 \
--batch_size 512 \
--dataset_path /home/yeluyue/lz/dataset/ImageNet2012 \
--dataset_name imagenet \
--exp_name mbv1_50flops_3 \
--search_result search_results/best_strategy_mbv1_50flops.txt \
--strategy_id 1 \
--epoch 120 \
--lr 1e-2 \
--weight_decay 5e-4 |
Try |
OK, thanks, I have solved it. |
I also search max accuracy on ResNet-50, the top-5 accuracy as follow, can I prune and finetune ResNet-50 on these parameters?
|
Why the bug occured, is there a bug inside our code? |
No, I'm sorry it's my careless. |
Another problem: when I run finetune.py with your provided scripts and checkpoint, errors as follow:
Originally posted by @BlossomingL in #18 (comment)
The text was updated successfully, but these errors were encountered: