- SMOTE (Synthetic Minority Over-sampling Technique) is a popular data augmentation technique for imbalanced datasets. It generates synthetic samples for the minority class (second and third classes in this case) by interpolating between existing samples. You can refer to Synthetic Minority Over-sampling Technique (SMOTE) file exchange to download the GitHub repository containing the implementation for the algorithm.
- Using a Weighted Loss function: The loss function can be weighted to give more importance to the minority class by multiplying the loss of the positive examples by a weight factor. To achieve this, you can try modifying the parameters for “crossentropy” defined in “objectnessLoss” and “classConfidenceLoss” functions as given in Object Detection Using YOLO v3 Deep Learning. The “perfweights” parameter as explained in Cross-Entropy, lets you modify the weights for each class, thereby giving more priority to the second and third classes.
Unable to train multilabel object detection usingYOLOv3
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Akshatha Doddabyaladakere Nagaraju
le 15 Mar 2023
Commenté : Akshatha Doddabyaladakere Nagaraju
le 2 Mai 2023
I have been trying to train a YOLOv3 model for multiclass, but the accuracy for the second and third class are way too low. i am unable to find the cause for it. I am using a unbalanced dataset and using data augmentation techniques to balance it. Apart from that, i do not see any other cause.
I have trained the YOLOv3 model with pretrained models with just one class and got the average precision of 0.713 but with multiclass even the fist class has accuracy around 0.56, second class 0.09 and third class 0.07. Do i need to configure any parameters to improvise the performance of the model?
0 commentaires
Réponse acceptée
Neha
le 6 Avr 2023
I understand that you want to boost the accuracy for the second and third class where dataset being used is imbalanced. There are a few ways to improve the performance of the model:
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Pattern Recognition and Classification dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!