We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 936097e + 113ac17 commit dfca313Copy full SHA for dfca313
detect_and_track.py
@@ -304,7 +304,7 @@ def detect(save_img=False):
304
opt = parser.parse_args()
305
print(opt)
306
#check_requirements(exclude=('pycocotools', 'thop'))
307
- if opt.download and not os.path.exists(str(opt.weights)):
+ if opt.download and not os.path.exists(''.join(opt.weights)):
308
print('Model weights not found. Attempting to download now...')
309
download('./')
310
0 commit comments