dyzy41 / ChangeCLIP

Apache License 2.0
60 stars 1 forks source link

About Multi-Label Change Detection #13

Open COUJIALUO opened 1 month ago

COUJIALUO commented 1 month ago

If my dataset is for multi-label change detection, and the labels contain values that are no longer just (0 1) or (0 255), but rather like (0 1 2 3 4 5 6) for the labels, does your code still support multi-class change detection?

dyzy41 commented 1 month ago

Yes, you should modify the num_classes in the config files. And, notice this line. https://github.com/dyzy41/ChangeCLIP/blob/4b9bb9a4241d6bd473c154752ddfdbdbb943fd93/mmseg/datasets/transforms/loading.py#L125