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

Search for ResNet-50 #20

Closed
bezorro opened this issue Sep 10, 2020 · 3 comments
Closed

Search for ResNet-50 #20

bezorro opened this issue Sep 10, 2020 · 3 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@bezorro
Copy link
Collaborator

bezorro commented Sep 10, 2020

I also search max accuracy on ResNet-50, the top-5 accuracy as follow, can I prune and finetune ResNet-50 on these parameters?

strategy index:49, score:0.133
strategy index:165, score:0.122
strategy index:94, score:0.117
strategy index:290, score:0.102
strategy index:22, score:0.101

Originally posted by @BlossomingL in #19 (comment)

@bezorro bezorro added the help wanted Extra attention is needed label Sep 10, 2020
@Bowenwu1
Copy link
Collaborator

@BlossomingL

Sure, you could have a try.

What pruning target do you use here?

@bezorro bezorro changed the title I also search max accuracy on ResNet-50, the top-5 accuracy as follow, can I prune and finetune ResNet-50 on these parameters? Search for ResNet-50 Sep 10, 2020
@BlossomingL
Copy link

python3 search.py \
--model_name resnet50 \
--num_classes 1000 \
--checkpoint models/ckpt/imagenet_resnet50_full_model.pth \
--gpu_ids 0 \
--batch_size 128 \
--dataset_path /home/linx/dataset/ImageNet2012 \
--dataset_name imagenet_train_val_split \
--num_workers 4 \
--flops_target 0.5 \
--max_rate 0.7 \
--output_file search_results/pruning_strategies_resnet50.txt \
--compress_schedule_path compress_config/res50_imagenet.yaml

@bezorro
Copy link
Collaborator Author

bezorro commented Sep 15, 2020

@BlossomingL
It seems that your seaching configuration and searching results are correct. Thanks for sharing.
We will release the scripts for ResNet-50 soon.

@bezorro bezorro closed this as completed Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants