yolov5prune icon indicating copy to clipboard operation
yolov5prune copied to clipboard

pruned.py报错

Open HU-jin1620 opened this issue 3 years ago • 3 comments

Fusing layers... Model Summary: 224 layers, 7059304 parameters, 0 gradients, 16.3 GFLOPs Traceback (most recent call last): File "F:/yolov5-master-bing/prune.py", line 794, in test_prune(opt.data, File "F:/yolov5-master-bing/prune.py", line 376, in test_prune highest_thre = min(highest_thre) ValueError: min() arg is an empty sequence highest_thre: []

Process finished with exit code 1

HU-jin1620 avatar Apr 11 '22 09:04 HU-jin1620

Have you solved it? I also encountered this problem

CVUsers avatar May 05 '22 03:05 CVUsers

yes, you can try to delete the .cache quotation from the dataset. I solved it by this way.

---原始邮件--- 发件人: @.> 发送时间: 2022年5月5日(周四) 中午11:45 收件人: @.>; 抄送: @.@.>; 主题: Re: [midasklr/yolov5prune] pruned.py报错 (Issue #81)

Have you solved it? I also encountered this problem

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

HU-jin1620 avatar May 05 '22 03:05 HU-jin1620

我尝试了这种方法, 没有效果

Dimitri666 avatar May 23 '23 06:05 Dimitri666