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

5 ビュー (過去 30 日間)
Ramya Sivanandham
Ramya Sivanandham 2022 年 7 月 18 日
回答済み: Sanjana 2023 年 9 月 1 日
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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by