KarenUllrich / Tutorial_BayesianCompressionForDL

A tutorial on "Bayesian Compression for Deep Learning" published at NIPS (2017).
MIT License
203 stars 48 forks source link

Is it in need to prune bias? #7

Closed remicongee closed 5 years ago

remicongee commented 6 years ago

Hi @KarenUllrich ,

I find your code does not eliminate the corresponding bias when pruning weights, which may, I think, lead to a high performance but not necessarily real. Maybe I have missed some important parts of your code, or, the bias influence is not that essential?

Looking forward to discussing with you!

clouizos commented 5 years ago

Hi,

Apologies for the late reply; I just noticed the issues here. For this simple example we don't prune the bias nor do we take it into account for the compression rate. Pruning it would lead to even higher compression rate but would probably also lead to some performance loss.