Skip to content

Commit dfca313

Browse files
Merge pull request #31 from hmatzner/patch-1
Update detect_and_track.py
2 parents 936097e + 113ac17 commit dfca313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detect_and_track.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def detect(save_img=False):
304304
opt = parser.parse_args()
305305
print(opt)
306306
#check_requirements(exclude=('pycocotools', 'thop'))
307-
if opt.download and not os.path.exists(str(opt.weights)):
307+
if opt.download and not os.path.exists(''.join(opt.weights)):
308308
print('Model weights not found. Attempting to download now...')
309309
download('./')
310310

0 commit comments

Comments
 (0)