Change class weights YOLOv7
is it possible to affect on class weights due to the imbalance of my dataset (6 classes all, 3 classes have small size and 3 balanced), I would change them accordingly so that the model learns better, or does it automatically in the loss function in YOLOv7?
thanks a lot