Explorar el Código

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

Follows #4823
modifyDataloader
Glenn Jocher GitHub hace 3 años
padre
commit
6b44ecd53d
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      export.py

+ 1
- 1
export.py Ver fichero

@@ -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:

Cargando…
Cancelar
Guardar