xiangweizeng / darknet2ncnn

Darknet2ncnn converts the darknet model to the ncnn model
Do What The F*ck You Want To Public License
158 stars 56 forks source link

ncnn error :-100 #3

Closed wg1996 closed 5 years ago

wg1996 commented 5 years ago

When use the example ,this error occured when I use the model of the converted yolov2 , which is trained by darknet. But the yolov2-tiny model can work. Thank you for reply.

xiangweizeng commented 5 years ago

When I test, yolov2 is working, you can use convert_verify to check whether the conversion is normal.

./convert_verify [darknet.cfg] [darknet.weights] [ncnn.param] [ncnn.bin]
wg1996 commented 5 years ago

I had used this command, the result is normal. And the model provided by the yolo's author can work, but the model trained by myself will occur this error.

xiangweizeng commented 5 years ago

Hi , Do you use the new base network or use the original network structure of the yolo author? If it is a new network structure, there should be a problem with the converted parameters. You need to find the layer with the error and adjust its parameters.

wg1996 commented 5 years ago

Thank you for your kind answer, I will try your suggestion.