Update edgetpu_tfl.py

This commit is contained in:
alec-groff 2024-01-26 14:25:28 -06:00 committed by GitHub
parent eee625bef2
commit df7cdecfdf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,6 +44,7 @@ class EdgeTpuTfl(DetectionApi):
model_path=detector_config.model.path,
experimental_delegates=[edge_tpu_delegate],
)
self.order = detector_config.model.order
except ValueError:
logger.error(
"No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors."