I’m trying to load a custom classifier inside deepstream and the issue that I’m facing right now is as follows,
When I used the deepstream test 2 app to perform inference on the people object and the car color classifier, if I don’t supply the mean file the classifier results remain the same, i.e it classifies all the people as to be of one single color, but when I give the mean file I see the change in classifier’s output.
My main task in hand was to feed in a custom classifier neural network, however I’m failing at the part as to how to generate the mean file to feed in the config file. I have trained my model using caffe and I have the mean file. Deepstream successfully converts the model to engine file and saves it but it fails at parsing the mean file.
On closer inspection I found the content of the mean file generated by the Caffe command,
is a binary file and the mean file used in deepstream is different, I was able to open the mean file in an editor (deepstream mean file) and read it’s content but not the one generated from caffe.
Hey @ChrisDing, I was able to get the classifier working, the issue seemed to be the model color format and the mean-file which is listed in the link below,
I have the mean.binaryproto for my caffe model already. How can I create a mean.ppm file to load the model as a secondary model along with the tltl pretrained facedetectIR model as primary?