I have found /home/pi/ncsdk/examples/caffe/GoogLeNet/object-detector.py. I think this is the
source code discussed in the tutorials. Correct?
1) I note the source is written for V1 of the NCSDK. I am happy to convert this ( or use the shim method) to enable execution under V2 of the SDK.
2) On execution 'utils' is not found ( needed to supply visulaize_output and deserialize_output). Help with locating 'utils' greatly appreciated.
Many Thanks jsl
@jslawton Not quite sure what you are referring to. I don't see object-detector.py at the NCSDK2 branch https://github.com/movidius/ncsdk/tree/ncsdk2/examples/caffe/GoogLeNet or the master branch https://github.com/movidius/ncsdk/tree/master/examples/caffe/GoogLeNet. Can you post your utils error output? Thanks.
@jslawton, I believe you are referring to https://github.com/movidius/ncappzoo/tree/master/apps/object-detector. If so, just copy https://github.com/movidius/ncappzoo/tree/master/apps/object-detector/utils over to your new project workspace within NCSDK 2.0. Alternatively, you should simply be able to copy the entire https://github.com/movidius/ncappzoo/tree/master/apps/object-detector folder over to your NCSDK 2.0 workspace and make necessary changes to https://github.com/movidius/ncappzoo/blob/master/apps/object-detector/object-detector.py
Thanks as ever!
So far I tried the 'shim' conversion that returned an execution time of 80.22 ms.
My direct conversion using the fifo convenience functions returned 97.75 ms.
In order to get my direct conversion to run I had to change from FP16 to FP32 and also
assign TIME_TAKEN as RO_TIME_TAKEN. I think the specification of FP16 is key to the additional time of execution but haven't managed to figure out how to maintain the specification at FP16, yet.
Once again thank you (and for and Tome's) help with this instructive tutorial code.