Browse Source

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

Follows #4823
modifyDataloader
Glenn Jocher GitHub 3 years ago
parent
commit
6b44ecd53d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      export.py

+ 1
- 1
export.py 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:

Loading…
Cancel
Save