Closed haolibai closed 5 years ago
Describe the bug According to To prune, or not to prune: exploring the efficacy of pruning for model compression, the mask should be updated based on the un-pruned weights. However in the code, the mask is updated based on the pruned weights.
Screenshots
Thanks for pointing it out. Both mask_thres and mask should be updated based on var_bkup, rather than var in the current implementation. We will fix it ASAP.
mask_thres
mask
var_bkup
var
Resolved in PR #134.
Describe the bug According to To prune, or not to prune: exploring the efficacy of pruning for model compression, the mask should be updated based on the un-pruned weights. However in the code, the mask is updated based on the pruned weights.
Screenshots