Open ZYSZYS88 opened 7 months ago
Apply the following changes to fix your error-
for yolov9-c and yolov9-e= change line 903 in utils/general.py to- prediction = prediction[0][1]
and for gelan-c.pt and gelan-e.pt= change line 903 in utils/general.py to- prediction = prediction[0]
Apply the following changes to fix your error-
for yolov9-c and yolov9-e= change line 903 in utils/general.py to- prediction = prediction[0][1]
and for gelan-c.pt and gelan-e.pt= change line 903 in utils/general.py to- prediction = prediction[0]
After I changed it like this, why is it still the same error?
应用以下更改以修复您的错误 -
对于 yolov9-c 和 yolov9-e=,将 utils/general.py 中的第 903 行更改为 - prediction = prediction[0][1]
对于 gelan-c.pt 和 gelan-e.pt= 将 utils/general.py 中的第 903 行更改为 - prediction = prediction[0]
I changed it like this and it works fine
I got same error when evaluating the trained model!