Closed min0628 closed 2 years ago
You need to you the appropriate calibration dataset - but this will primarily affect only the accuracy and not the classes themselves. The EdgeAI Apps may be written for a specific scenario, for example COCO in this case. I am guessing that you need to modify the EdgeAI Apps for your scenario.
Opps. It was my mistake. I selected wrong model to compile.
The new model has been compiled and works well.
And modified EdgeAI Apps's classname
, the result shows correct labels.
Thanks.
Hi, TI
I tried to using our custom ONNX model that trained by custom dataset. I compiled the model using
tutorials/tutorial_detection.ipynb
and it works on SK-TDA4VM. The result of EdgeAI Apps shows wrong labels. Our custom model has 3 classes, but EdgeAI Apps result has over the 3 classes. For example our model hasvehicle
class. but EdgeAI Apps result's label showvehicle/truck
,vehicle/car
andvehicle/motorcycle
. I think model compile process has calibration using COCO dataset cause this problem.Q1. Does calibration processing change compiled model number of classes? Q2. If I changed
calibration_dataset=''
inpipeline_configs
, model's artifact doesn't create. Is this normal? Q3. In my situation, I can't skip calibration process so do i need to add our custom dataset in benchmark?