Closed newforrestgump001 closed 2 years ago
I am not sure I understand your question… The model is complete, but it's defined a bit differently than the one in the example… it's already setup to have 80 classes.
After having a second look at the code, you can just add a template parameter to the yolov4x definition to be the number of classes, and replace all 255
filters with (num_classes + 5) * 3
to have a similar interface as the other ones.
Thank you! I am not so familiar to dlib dnn, although very interested with it.
I merged yolov4 code snippet to dnn_yolo_train_ex.cpp in dlib, and it works fine. But there is no classes parameter in yolov4x, is it incomplete or maybe I misunderstand it. Thank you!