当前位置:网站首页>Typeerror: argument of type "Int 'is not Iterable

Typeerror: argument of type "Int 'is not Iterable

2022-06-11 11:08:00 Saga

We are using Yolov5 After training the model , To test the model effect , When calling the camera provided with the computer , There is a problem :TypeError: argument of type "int’ is not iterable
 Insert picture description here

resolvent : take utils–>datasets.py Document No. 280 Line of code to modify , See below :
 Insert picture description here

After the modification, you can call the camera on the computer normally .
 Insert picture description here

The above is the use of Yolov5 There is a problem when the trained model calls the computer's own camera :TypeError: argument of type "int’ is not iterable Solutions for , I hope I can help you , Support a lot , thank you !

原网站

版权声明
本文为[Saga]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111050433503.html