From 73ace7a97fbc954cec4b313d90bead749463dc3f Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 3 Apr 2022 21:21:55 +0200 Subject: [PATCH] Update --- utils/benchmarks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/benchmarks.py b/utils/benchmarks.py index 69243725b48a..36e827848584 100644 --- a/utils/benchmarks.py +++ b/utils/benchmarks.py @@ -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 == '-':