Closed syswyl closed 3 years ago
bn_weights = gather_bn_weights(model.module_list, [idx])
其中model
改为cfg_model
,这里笔误了
bn_weights = gather_bn_weights(cfg_model.module_list, [idx])
bn_weights = gather_bn_weights(model.module_list, [idx])
其中model
改为cfg_model
,这里笔误了
bn_weights = gather_bn_weights(cfg_model.module_list, [idx])
thanks~😀
按照作者的readme操作,下载的是官方v5的第四个版本的yolov5s,配置文件yolov5s.yaml是作者提供的,数据集yaml已修改。 在稀疏训练结束查看bn权重时候报错
我的本地版本是
我将模型打印输出,发现确实缺少了该部分,我参考了v3剪枝中的issue,但是没有解决。希望得到回复~ 这个问题似乎不会对训练产生影响,但是想知道问题出在哪儿,