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

The prune model cannot reimplemented #25

Open
songya opened this issue Apr 1, 2020 · 1 comment
Open

The prune model cannot reimplemented #25

songya opened this issue Apr 1, 2020 · 1 comment

Comments

@songya
Copy link

songya commented Apr 1, 2020

I downloaded your pruned model and identified the model achieved delta1 >= 0.77.

I implemented the pruned model and trained it from the pretrained model of imagenet.
But its accuracy is around 0.6.
lr = 0.01,
weight decay = 0.0001
SGD with a momentum 0.9
=> That's is I didn't change these parameters at all.

Could you change those parameters while training using NetAdapt?

@dwofk
Copy link
Owner

dwofk commented Jul 30, 2020

Hi @songya

In our work, we first trained our (unpruned) model and then applied network pruning to it, aiming to maintain accuracy. We fine-tuned the pruned model but did not train it from scratch. If you are training the pruned model from scratch, the achieved accuracy may very well differ from our reported metrics as we had not tried that.

Yes, it is possible to change parameters when training or fine-tuning using NetAdapt. For more detail, please refer to the NetAdapt code repo at https://github.com/denru01/netadapt, especially the customization section.

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