Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Usage of INT8 Calibration Commands

pdewan
Beginner
607 Views

Hi,

I tried using one of the argument "--ignore_layer_types".

I used it like --ignore_layer_types Convolution and --ignore_layer_types 'Convolution' and --ignore_layer_types [Convolution] but none of them worked for me. That layer converts to int8. But i want to ignore that and keep fp32 precision for particular layer.

If i am doing something wrong, please correct me.

Thanks,

Puru

 

0 Kudos
3 Replies
Shubha_R_Intel
Employee
607 Views

Dear pdewan,

I am checking on this. Thanks for your patience !

Shubha

 

0 Kudos
Shubha_R_Intel
Employee
607 Views

Dear pdewan,

Can you kindly attach your model and the command you used ? You can attach it as a *.zip.  If you'd rather PM it privately to me, let me know and I will enable you to do that.

Thanks,

Shubha

0 Kudos
Shubha_R_Intel
Employee
607 Views

Dear pdewan,

We tried --ignore_layer_types  on 2019R3 and it works fine. 

Here is typical usage:

1)	python calibrate.py -c C:\Users\test\Desktop\sample_config\caffe_se_resnext_50.yml --ignore_layer_types "Convolution"

or

2)	python calibrate.py -c C:\Users\akuporos\Desktop\sample_config\caffe_se_resnext_50.yml --ignore_layer_types "Convolution" -cfc

Hope it helps,

Shubha

0 Kudos
Reply