You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| P | origin:0.6032 | after prune:0.5359 | loss ratio:0.1114
| R | origin:0.4673 | after prune:0.3807 | loss ratio:0.1854
| mAP@.5 | origin:0.5084 | after prune:0.4142 | loss ratio:0.1852
| mAP@.5:.95 | origin:0.3244 | after prune:0.2414 | loss ratio:0.2560
finetuning epoch = 100;
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.319
finetuning后精度损失基本和您实验中是差不多的。
实验2:sparsity training epochs = 100;
pruning percent = 30%;
结果如下:
| P | origin:0.6460 | after prune:0.4668 | loss ratio:0.2774
| R | origin:0.4777 | after prune:0.3093 | loss ratio:0.3525
| mAP@.5 | origin:0.5308 | after prune:0.3079 | loss ratio:0.4201
| mAP@.5:.95 | origin:0.3413 | after prune:0.1745 | loss ratio:0.4888
Hello!您好,我在按照您的代码以及实验13相同的设置下进行的两次剪枝实验;
实验1:sparsity training epochs = 50;
pruning percent = 30%;
结果如下:
| P | origin:0.6032 | after prune:0.5359 | loss ratio:0.1114
| R | origin:0.4673 | after prune:0.3807 | loss ratio:0.1854
| mAP@.5 | origin:0.5084 | after prune:0.4142 | loss ratio:0.1852
| mAP@.5:.95 | origin:0.3244 | after prune:0.2414 | loss ratio:0.2560
finetuning epoch = 100;
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.319
finetuning后精度损失基本和您实验中是差不多的。
实验2:sparsity training epochs = 100;
pruning percent = 30%;
结果如下:
| P | origin:0.6460 | after prune:0.4668 | loss ratio:0.2774
| R | origin:0.4777 | after prune:0.3093 | loss ratio:0.3525
| mAP@.5 | origin:0.5308 | after prune:0.3079 | loss ratio:0.4201
| mAP@.5:.95 | origin:0.3413 | after prune:0.1745 | loss ratio:0.4888
因为直接剪枝的结果更差,所以此处暂未进行finetuning!
问题1:我看您实验13的设置中也是进行了100个epoch的训练,所以很好奇为啥稀疏训练epoch时间更长,反而效果更差了?
或者说这是不是说明稀疏训练的次数并非越多越好,类似于正常训练时可能会因为训练次数过多而导致的过拟合。
问题2:稀疏训练的过程就会导致精度损失,然后在剪枝后也会导致精度损失,即便进行了finetuning也还是存在精度损失,这也就意味着整个剪枝过程中会面临两次精度下降的问题,所以想请教一下您如何看待这个问题?以及是否可以通过稀疏训练更多的epoch来提高精度,或者是稀疏训练较少的次数,但是剪枝后finetuning更长时间来更大程度上恢复精度?
Looking forward to your reply! Thanks!
The text was updated successfully, but these errors were encountered: