-
Notifications
You must be signed in to change notification settings - Fork 6
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
Question about reinitialize #2
Comments
I think the filters been pruned should restore previous value that before it been pruned, and keep other non-pruned filters their current value, then use |
By the way, https://github.com/siahuat0727/RePr/blob/master/main.py#L190 it seems that the operation doesn't mentioned in the paper. |
@philokey |
Another question: what if all filters of a layer are pruned?(this could happen sometime) |
I have 2 questions. |
@tiandunx
|
Hi, I feel a little confused about reinitialize. You have set
W.data[mask[name]]
to zero in pruning, however in reinitialize, you don't recover the corresponding weight to the dropped filter. In the paper, it said "we reinitialize the filters to be orthogonal to its value before being dropped". I think it is not much reasonable, can you give me the reason that why did you implement like this?Thank you very much.
The text was updated successfully, but these errors were encountered: