How to customize or reduce the number of classes in yolov4 model?

4 次查看(过去 30 天)
There are 80 number of classes are there in the yolov4 - coco matlab model. But, i dont require the all those clasess. With the same model, is any possible to call the particular class while doing the testing? Like, I need only 3 classes such as Car, truck, Person - In that case, is any possible to extract those 3 class trained data alone? If yes, please let me know.
or
Is anyone has the yolov2 pretrained model for person detection along with vehicle? (Totally, 2 classes)

回答(1 个)

Sanjana
Sanjana 2023-9-1
Hi Jesse,
I understand that you are looking for a way to customize the “yolov4ObjectDetector” by reducing the no. of classes, which are equal to 80 for a standard “yolov4ObjectDetector”.
Transfer learning can be applied on the pre-trained “yolov4ObjectDetector”, to detect any number of classes.
Please refer to the following documentation, for creating a custom “yolov4ObjectDetector”,
Hope this helps!
Regards,
Sanjana

类别

Help CenterFile Exchange 中查找有关 ThingSpeak 的更多信息

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by