Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Apr 3, 2022
1 parent 044825d commit 73ace7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == '-':
Expand Down

0 comments on commit 73ace7a

Please sign in to comment.