meituan / YOLOv6

YOLOv6: a single-stage object detection framework dedicated to industrial applications.
GNU General Public License v3.0
5.66k stars 1.02k forks source link

Int8 pytorch inference #882

Open snehashis1997 opened 1 year ago

snehashis1997 commented 1 year ago

Before Asking

Search before asking

Question

Is it possible to inference in int8 as a pytorch model ( as pt file ) ?

Additional

No response

Chilicyy commented 1 year ago

Hi @snehashis1997 , to inference in int8 as pt file may cause large precision decline, and it's common way to inference in int8 as a trt engine file.

snehashis1997 commented 1 year ago

Thank you for your reply. if someone wants to export yolov6 fp16 model to openvino fp32 model then using openvino int8 quantization convert the fp320ir model to int8 ir model, can we do that?