This sample contains Python code that running YOLOX-TensorFlow Lite model.
- Megvii-BaseDetection/YOLOX
- YOLOX-ONNXRuntime in Python
I referred to the implementation of the inference code.
- YOLOX-ONNXRuntime in Python
- PINTO0309/PINTO_model_zoo
- HW
- PC or Raspberry Pi
- Camera (optional)
- SW
- TensorFlow Lite v2.5
- OpenCV v4.5
Name | Description |
---|---|
yolox_tflite_demo.py | Camera or Video file input demo. This sample is available at PINTO030/PINTO_model_zoo. |
yolox_tflite_coco_metrics.py | Benchmark COCO metrics with YOLOX. |
yolox_tflite_image.py | Image file input demo. |
Clone this repository.
cd ~
git clone https://github.com/NobuoTsukamoto/tflite-cv-example.git
cd tflite-cv-example
git submodule init && git submodule update
Clone PINTO0309/PINTO_model_zoo and download YOLOX models.
cd ~
git clone https://github.com/PINTO0309/PINTO_model_zoo.git
cd PINTO_model_zoo/132_YOLOX/
# YOLOX Nano
download_nano.sh
# YOLOX Tiny
download_tiny.sh
Finally, Run demo.
The following files are licensed under Megvii-BaseDetection/YOLOX.