EfficientDet-Lite1 384
Detects COCO objects at 384 脳 384. Image preprocessing, box decoding and NMS run on the host.
Downloads
| Format | File | Precision and compatibility |
|---|---|---|
| ONNX | model.onnx | 17.85 MB 路 ONNX Runtime CPU |
| TFLite | model.tflite | 6.08 MB 路 CPU 路 matching QNN delegate required for HTP |
| QNN context | context_qnn.bin | 12.20 MB 路 Android, QCS8550 HTP v73, QAIRT 2.47 |
Input/output and postprocessing 路 SHA256SUMS
Usage
Use an authenticated HF CLI. Put your input image in the downloaded model/ folder under the filename shown.
hf download anan19990108/efficientdet-lite1-htp --revision 665f06f8bae7223df07fc2b80b1c03ad22e56b31 --local-dir model
cd model
python -m pip install -r requirements.txt
python examples/infer.py --runtime tflite-cpu --model tflite/model.tflite --image image.jpg
The CPU example prints COCO category IDs, scores and original-image boxes in [x,y,width,height] format.
Results
| Runtime and COCO val2017 images | bbox AP | AP50 |
|---|---|---|
| Original TFLite CPU, all 5,000 | 0.302 | 0.471 |
| Released TFLite + QNN delegate HTP, fixed 100 | 0.347 | 0.539 |
| Released ONNX Runtime QNN EP HTP, fixed 100 | 0.356 | 0.544 |
| Released QNN native context HTP, fixed 100 | 0.356 | 0.544 |
The 100-image HTP subset is the first 100 COCO val2017 image IDs. Android HTP network p50/p95 was 2.562 / 6.315 ms for TFLite Invoke with one warmup per initialization, and 8.104 / 20.739 ms for ONNX Session.Run after 10 warmups. The native log estimate is provisional.
Full measurements 路 Detailed setup and earlier results
Source
The upstream checkpoint is 1.tflite from EfficientDet-Lite1, revision 1, licensed under Apache-2.0. The checkpoint SHA-256 and verification method are in evaluation/results.json.
- Downloads last month
- 19