Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ermak__Aleksei
Beginner
116 Views

[2019R1] OpenVINO calibration tool: custom adapter

Hi,

is it possible to create and use custom adapter for conversion network output to calibrate a model?

Thanks

0 Kudos
4 Replies
Edward_S_Intel1
Employee
116 Views

Yes, it's possible. Please explore:

  • Readme file in package: intel/openvino/python/python3.5/openvino/tools/accuracy_checker/accuracy_checker/postprocessor/README.md
  • Usage model here: https://docs.openvinotoolkit.org/latest/_inference_engine_tools_accuracy_checker_tool_README.html

Let me know if you still have any questions, please.

Ermak__Aleksei
Beginner
116 Views

Hi Edward,

thanks you for reply, currently I have written own custom adapter, but I can't find how to make calibrator use it programatically. Calibration works if I add my detection adapter code at the end of /opt/intel/openvino/python/python3.5/openvino/tools/accuracy_checker/accuracy_checker/adapters/detection.py file, but I need to use it without such "tricks".

Maybe I missed any options by which I can link my adapter with calibrator?

Regards,

Aleksei

Ermak__Aleksei
Beginner
116 Views

Can you please answer how can I use my custom adapter with calibration tool? Can't find any info in suggested sources.

Edward Shogulin (Intel) wrote:

Yes, it's possible. Please explore:

Let me know if you still have any questions, please.

Edward_S_Intel1
Employee
116 Views

Hi Aleksei,

 

Firstly, Calibration Tool uses Accuracy Checker to measure accuracy. Can you, please, explore existing adapters implementation and make in the same way: https://github.com/opencv/dldt/tree/2019/tools/accuracy_checker/accuracy_checker/adapters.

Note, please, the simplest way is: if your dataset structure is different then you can reorganize your dataset to well known and reuse existing adapters.

 

Best regards,

Edward

Reply