The number of labels during training and testing are different #609
-
Hi @yiheng-wang-nv I would like to mention one important mark concerning the visualization of labels. I have totally 5 labels (including a background) and after training process I can see all 4 labels in true_masks and predicted_masks. I used following Compose during training: But during evaluation of model on original images/masks visualization shows only 1 label for both true_masks and predicted_masks. post_transforms = Compose([ Do you know by chance what could cause these changes with number of labels. Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @HripsimeS ,
Here what do you mean |
Beta Was this translation helpful? Give feedback.
Hi @HripsimeS ,
Here what do you mean
visualization shows only 1 label for both true_masks and predicted_masks
?can you check the shape of pred and mask? I think their shape[0] should be 5.