You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
output:
1/1: 0... Traceback (most recent call last):
File "detect.py", line 184, in
detect()
File "detect.py", line 55, in detect
dataset = LoadStreams(source, img_size=imgsz, stride=stride)
File "\yolov7\utils\datasets.py", line 285, in init
if 'youtube.com/' in url or 'youtu.be/' in url: # if source is YouTube video
TypeError: argument of type 'int' is not iterable
command: python detect.py --source 0
output:
1/1: 0... Traceback (most recent call last):
File "detect.py", line 184, in
detect()
File "detect.py", line 55, in detect
dataset = LoadStreams(source, img_size=imgsz, stride=stride)
File "\yolov7\utils\datasets.py", line 285, in init
if 'youtube.com/' in url or 'youtu.be/' in url: # if source is YouTube video
TypeError: argument of type 'int' is not iterable
Seems to be this same bug
ultralytics/yolov5#2810
The text was updated successfully, but these errors were encountered: