Open robmarkcole opened 3 days ago
6 classes, ignore index 255 and
Dice( num_classes=num_classes, ignore_index=ignore_index, average="micro", )
Error
- The `ignore_index` 255 is not valid for inputs with 6 classes
Similar to https://github.com/Lightning-AI/torchmetrics/issues/304
is it with the latest version? and if you could provide full example with sample values
With torchmetrics==1.6.0
torchmetrics==1.6.0
🐛 Bug
6 classes, ignore index 255 and
Error
Similar to https://github.com/Lightning-AI/torchmetrics/issues/304