Unverified 提交 bb56ed4d authored 作者: Glenn Jocher's avatar Glenn Jocher 提交者: GitHub

Merge pull request #35 from pcgeek86/patch-1

Fix Google Drive URI for YOLOv5 weights
......@@ -10,7 +10,7 @@ from pathlib import Path
def attempt_download(weights):
# Attempt to download pretrained weights if not found locally
weights = weights.strip()
msg = weights + ' missing, try downloading from https://drive.google.com/open?id=1LezFG5g3BCW6iYaV89B2i64cqEUZD7e0'
msg = weights + ' missing, try downloading from https://drive.google.com/drive/folders/1Drs_Aiu7xx6S-ix95f9kNsA6ueKRpN2J'
r = 1
if len(weights) > 0 and not os.path.isfile(weights):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论