midasklr / yolov5prune

554 stars 113 forks source link

pruned.py报错 #81

Open HU-jin1620 opened 2 years ago

HU-jin1620 commented 2 years ago

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

CVUsers commented 2 years ago

Have you solved it? I also encountered this problem

HU-jin1620 commented 2 years ago

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: @.***>

Dimitri666 commented 1 year ago

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