dnn darknet cifar classifier[SOLVED] [closed]
OpenCV => 3.4.5 Operating System / Platform => Windows 7/10 64 Bit Compiler => Visual Studio 2015 Languege C++ I trained a cifar_small cfg for car color classifier. It performs well using yolo_cpp_dll but the results are corrupted using opencv 345 and 346. Any Idea? Maybe I do not prepare well the data by cv::dnn::blobFromImage(img, 1.0 / 255.F, cv::Size(112, 112), cv::Scalar(127.5, 127.5, 127.5), true, false, CV_32F); Thanks
can you explain ?
I solved it using
But there is a bug in opencv 345. didnt test 346 yet.
I use 2 netowrks: 1) for car detection and model classification (toyota, mazda ... 2 is the car color classifie
When I test the car color classifier only I get "softamax_10" after calling get getOutputsName When I test both networks and call getOutputName I get yolo_16 and yolo_23 I guess this is opencv bug
After I hardcoded set to "softmax_10" the system with 2 networks work fine.