Fix 'PyTorch starting from' for URL weights (#4828)

Follows #4823
This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-09-16 14:38:35 +02:00
1 parent 43b2817f6e
commit 6b44ecd53d
1 file changed
+1 -1
+1 -1
View File
@@ -272,7 +272,7 @@ def run(data=ROOT / 'data/coco128.yaml', # 'dataset.yaml path'
for _ in range(2):
y = model(im) # dry runs
print(f"\n{colorstr('PyTorch:')} starting from {weights} ({file_size(weights):.1f} MB)")
print(f"\n{colorstr('PyTorch:')} starting from {file} ({file_size(file):.1f} MB)")
# Exports
if 'torchscript' in include: