Lam1360 / YOLOv3-model-pruning

在 oxford hand 数据集上对 YOLOv3 做模型剪枝(network slimming)
MIT License
1.67k stars 432 forks source link

为什么剪枝后的 sample_metrics 为空 #98

Open 1-snail opened 3 years ago

1-snail commented 3 years ago

剪枝之前 sample_metrics不为空,经过剪枝将 BN 层中的参数置零之后再次评估模型得到的 sample_metrics = [], 然后执行assert sample_metrics != [] 直接报错了

Albert337 commented 2 years ago

i meet the same error! Had you solved it?

yuanpanlifly commented 9 months ago

我也遇到了相同的问题,请问有解决的嘛,求教