WongKinYiu / yolov9

Implementation of paper - YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information
GNU General Public License v3.0
8.85k stars 1.38k forks source link

detect时,augment为True 推理报错 #360

Open yazheng0307 opened 5 months ago

yazheng0307 commented 5 months ago

用最新的代码中的detect_dual.py,把augment的参数设置为 True时 ,出现以下错误: TypeError: list indices must be integers or slices, not tuple

完整日志: image

请问什么原因呢,该如何解决..

Eyoahz1243fei commented 4 months ago

Me too. Did anyone sovled it?

Eyoahz1243fei commented 4 months ago

Me too. Did anyone sovled it?

I solved it by this way: https://github.com/Eyoahz1243fei/Self-Scripts/tree/main

Ashkanbhz commented 3 months ago

But you set Flipping to "None" and when I use "3" instead, for left to right flipping, it gives error again. any other approaches to overcome with this issue?