So I managed to create .hef file of yolov4 model
I trained the model with docker from hailo_zoo
and got the onnx file also by this tutorial
but when I use the model in basic pipeline script detection.py
I am getting this error :
NMS score threshold is set, but there is no NMS output in this model.
I confirmed with this command that my model don’t have any NMS.
from this previous post :
I understood that “detection.py example works only for models that are compiled with Hailo-NMS”(Omer)
And I should have postprocess_config json file
So I have 2 questions :
First : if I am using yolov4 what json file I can get from here : https://github.com/hailo-ai/hailo_model_zoo/tree/master/hailo_model_zoo/cfg/postprocess_config
If I cant get any can I make my own ? if so how can I do it netron.app ?
Second question :
if I got the postprocess config json file where can I use it as input ? in which part of the creation of .hef file ? Parsing ? Compilation ? Inference ?
Thanks