Closed cosao closed 2 years ago
The label names were supposed to be defined in data.yaml
but we didn't have time to implement it.
For now label names are defined as scripts.utils.constants.LABELS It's temporary but you can add your own dataset label in the dictionary.
LABELS = {
"COCO": [ ... ],
"VOC": [ ... ],
"CUSTOM_DATASET": [ "label_1", "label_2", ... ]
}
And pass dataset_name
argument in LoadImagesAndLabels
class.
i solved problem, thanks for your answer
The class does not change during model training using custom data. Please tell me how to solve this problem.