Does not run on CPU
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 26
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
According to maxbbraun/thermal-face the model thermal_face_automl_edge_fast.tflite should run on CPU
However I tried it and it won't work.
Error code is shown below
super().__init__(model_path)
File "/usr/lib/python3/dist-packages/edgetpu/basic/basic_engine.py", line 92, in __init__
self._engine = BasicEnginePythonWrapper.CreateFromFile(model_path)
RuntimeError: No Edge TPU device detected!
Model I use
flags.DEFINE_string('face_model',
'thermal_face_automl_edge_fast.tflite',
'The TF Lite face detection model file compiled for CPU '
'CPU.')
Per google documents edgetpu.detection.engine.DetectionEngine can run on CPU .
Is there any problem with thermal_face_automl_edge_fast.tflite ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the face_model flag and the call to edgetpu.detection.engine.DetectionEngine, then reproduce the reported RuntimeError with thermal_face_automl_edge_fast.tflite. Check the model and the documented CPU execution path to determine whether the failure is caused by the model or by how the engine is invoked; done means documenting or fixing the confirmed cause with a verified run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100