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.
1 parent 936097e commit 113ac17Copy full SHA for 113ac17
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