Thanks for your fast reply.
Yes I met some issue in model inference.
Actually, my custom data only have 2 class. I trained model with GitHub - pjreddie/darknet: Convolutional Neural Networks
After training, I quantize model and generate code successfully. I replace the corresponding .h and .c to build .so file(my reference is Beginners Guide: darknet-yolov3 or yolov3-tiny Model Training). And I replace the .nb. But When I run detect_demo_x11_usb demo. I got an error.
The error log is
I also download the original cfg and weights from darknet official site. Run the scripts and do the previous process again, it can work. I check a lot and compare the files. Finally I guess maybe the class numbers matter and it cause some issue.
So I change the class_number to 80 and retrained the model and convert model and do model inference. It still not work. The error log is same.