yolov5prune icon indicating copy to clipboard operation
yolov5prune copied to clipboard

剪枝时报错:KeyError: 'model.0.conv.bn'

Open weinanyu opened this issue 2 years ago • 6 comments

试了很多的稀疏度和剪枝率都报这个同样的错,不知如何解决

weinanyu avatar Mar 03 '22 03:03 weinanyu

还有KeyError: 'model.4.m.2.cv1.bn'

weinanyu avatar Mar 04 '22 13:03 weinanyu

试了很多的稀疏度和剪枝率都报这个同样的错,不知如何解决

师兄,您是使用6.0版本训练的吗?

msddmzy avatar Mar 05 '22 13:03 msddmzy

好像也不是用的6.0,可能是因为我改动过SPP?

------------------ 原始邮件 ------------------ 发件人: msddmzy @.> 发送时间: 2022年3月5日 21:56 收件人: midasklr/yolov5prune @.> 抄送: weinanyu @.>, Author @.> 主题: Re: [midasklr/yolov5prune] 剪枝时报错:KeyError: 'model.0.conv.bn' (Issue #74)

试了很多的稀疏度和剪枝率都报这个同样的错,不知如何解决

师兄,您是使用6.0版本训练的吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

weinanyu avatar Mar 05 '22 14:03 weinanyu

好像也不是用的6.0,可能是因为我改动过SPP? ------------------ 原始邮件 ------------------ 发件人: msddmzy @.> 发送时间: 2022年3月5日 21:56 收件人: midasklr/yolov5prune @.> 抄送: weinanyu @.>, Author @.> 主题: Re: [midasklr/yolov5prune] 剪枝时报错:KeyError: 'model.0.conv.bn' (Issue #74) 试了很多的稀疏度和剪枝率都报这个同样的错,不知如何解决 师兄,您是使用6.0版本训练的吗? — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

请问您解决了吗

yezechen avatar Apr 07 '22 07:04 yezechen

还没有

weinanyu avatar Apr 07 '22 07:04 weinanyu

还没有

请问您现在解决了吗?我用6.0版本训练也报这个错。

syf0518 avatar Apr 26 '22 05:04 syf0518