Now I succeed to compile our own yolov5m model trained in pytorch to hef, but the detection accuracy is lower than the tensorRT engine. To improve the accuracy, can we compile the model with onnx model trained with QAT from pyTorch? Is there any instruction and sample?
I’m sorry that I don’t have any experience on TensorFlow and Keras. I started to study on it. Maybe I can try to train our yolov5m model with keras and use hailo QAT.
Sorry for my late response. Yes, we get accuracy degradation after quantization. We have succeed to compile our yolov5m model ( we modified with some new categories) from onnx to hef. But when we compare the accuracy from tensorRT, we found it drops obviously. I’m trying to find a way to improve the accuracy at least to tensorRT (without QAT) level. So, if you think it is problematic to do even with Keras for yolov5m, do you have other advice I can try?