I have trained Darknet YOLO using my own set of classes. I've copied them over to the camera. I've set the parameters to use these files with the following commands:
setpar datacfg cfg/pdq_obj.data
setpar cfgfile cfg/pdq.cfg
setpar weightfile weights/pdq_3100.weights
setpar serout All
setpar serstyle Detail
I get a response of "OK" for each line. However, it's still using the standard classes. Any hints on additional debugging I can do? It's possible I have a path wrong, but I don't get any error messages so it's hard to tell. Do I have to reset Yolo somehow?
<edit> Looking at the YOLO.C file, there are calls to output these values via LINFO. However, I can't figure out how to get the LINFO to go to my serial port. It also appears that I need to have these values set during initialization. I don't know how to pass these values before setting up the camera for YOLO. If I send them before I've selected YOLO it doesn't recognize them. If I send them after, it doesn't seem to use them. I've also tried using setmapping to select YOLO without streaming, setting the values and then starting streaming. Getpar shows that it has my values, but for some reason it's not using them.