updates
This commit is contained in:
parent
0e52b8f361
commit
dd913d0158
|
@ -405,7 +405,7 @@ def attempt_download(weights):
|
|||
# Attempt to download pretrained weights if not found locally
|
||||
|
||||
msg = weights + ' missing, download from https://drive.google.com/drive/folders/1uxgUBemJVw9wZsdpboYbzUN4bcRhsuAI'
|
||||
if not os.path.isfile(weights):
|
||||
if weights and not os.path.isfile(weights):
|
||||
file = Path(weights).name
|
||||
|
||||
if file == 'yolov3-spp.weights':
|
||||
|
|
Loading…
Reference in New Issue