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.

post training optimization

akshya
Employee
604 Views

Hi all,
I have a some questions on the post-training Optimization toolkit using the DefaultQuantization algorithm in simplified mode. As mentioned on the following links, it needs a calibration dataset of 300 samples to carry out the optimization process.
https://docs.openvinotoolkit.org/latest/pot_README.html

https://docs.openvinotoolkit.org/latest/pot_docs_BestPractices.html


Q1. Whether the number is fixed for all datasets?
Q2. Is there any way to figure out this number for custom dataset?
Q3. What to do, in case someone is doing post-training optimization on a pre-trained model, fine-tuned and trained with a fewer number of images(less than 300).

0 Kudos
1 Solution
Munesh_Intel
Moderator
569 Views

Hi Akshya

Thanks for contacting us.


We recommended minimum number of 300 representative samples from our experience, as we found that these are sufficient to get representative statistics in most cases. This is by no means a definite number.


As such, we leave it to you to determine the number of representative samples needed for your custom dataset.



Regards,

Munesh


View solution in original post

0 Kudos
2 Replies
Munesh_Intel
Moderator
570 Views

Hi Akshya

Thanks for contacting us.


We recommended minimum number of 300 representative samples from our experience, as we found that these are sufficient to get representative statistics in most cases. This is by no means a definite number.


As such, we leave it to you to determine the number of representative samples needed for your custom dataset.



Regards,

Munesh


0 Kudos
Munesh_Intel
Moderator
538 Views

Hi Akshya,

This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.


Regards,

Munesh


0 Kudos
Reply