Explorar el Código

Update

modifyDataloader
Glenn Jocher hace 2 años
padre
commit
779efbb9ca
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      utils/benchmarks.py

+ 1
- 0
utils/benchmarks.py Ver fichero

@@ -58,6 +58,7 @@ def run(
device = select_device(device)
for i, (name, f, suffix, gpu) in formats.iterrows(): # index, (name, file, suffix, gpu-capable)
try:
assert i < 9, 'Edge TPU and TF.js not supported'
if device.type != 'cpu':
assert gpu, f'{name} inference not supported on GPU'
if f == '-':

Cargando…
Cancelar
Guardar