Skip to content

Latest commit

 

History

History

python

YOLOX with TensorFlowLite - Python

Description

This sample contains Python code that running YOLOX-TensorFlow Lite model.

Reference

Environment

  • HW
    • PC or Raspberry Pi
    • Camera (optional)
  • SW
    • TensorFlow Lite v2.5
    • OpenCV v4.5

Samples

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.

How to

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.

LICENSE

The following files are licensed under Megvii-BaseDetection/YOLOX.