EfficientDet-Lite0 320

Detects COCO objects at 320 脳 320. Image preprocessing, box decoding and NMS run on the host.

Downloads

Format File Precision and compatibility
ONNX model.onnx 13.53 MB 路 ONNX Runtime CPU
TFLite model.tflite 4.56 MB 路 CPU 路 matching QNN delegate required for HTP
QNN context context_qnn.bin 9.45 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-lite0-htp --revision f4ed53c94ac624c774c173477d5d43efe21aedd3 --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.

Board setup and HTP commands

Results

Runtime Images AP / AP50
Original TensorFlow TFLite CPU, built-in NMS 5,000 0.260 / 0.421
Released ONNX CPU 5,000 0.262 / 0.423
Released TFLite + QNN delegate, HTP 100 0.296 / 0.468
Released ONNX Runtime + QNN EP, HTP 100 0.308 / 0.472
Released QNN native context, HTP 100 0.308 / 0.472

The 100-image HTP subset is the first 100 COCO val2017 image IDs. Android HTP network p50/p95 was 3.387 / 11.504 ms for TFLite Invoke with one warmup per initialization, and 3.131 / 3.439 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-Lite0, revision 1, licensed under Apache-2.0. The checkpoint SHA-256 and verification method are in evaluation/results.json.

LICENSE 路 NOTICE

Downloads last month
22
Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support