How to run inference yolov5.tflite that quantized int8?

2,027 views
Skip to first unread message

Mahmoud Alipour

unread,
Nov 6, 2021, 11:45:35 AM11/6/21
to TensorFlow Lite
Hi everyone, I'm going to obtain bounding box of tflite of yolov5 that is int8 quantized. How can I find that?
I get bounding boxes of yolov5 with fp12 quantization, with the code in this link. but it does not work on int8 quantization.
  

Jiacong Fang

unread,
Nov 19, 2021, 2:51:33 AM11/19/21
to TensorFlow Lite, mahmouda...@gmail.com
You could run the inference with int8 tflite models with
```
python detect.py --weights yolov5s-int8.tflite
```
using the master branch of yolov5.
More information can be found at https://github.com/ultralytics/yolov5/pull/1127
Reply all
Reply to author
Forward
0 new messages