Closed fengweie closed 4 years ago
@Karles-ai
how does this formula: loss = criterion(output, target_a) lam + criterion(output, target_b) (1. -lam) in the paper expand into the segmentation problem?
This criterion, which mixes two one-hot labels, is designed for the classification task. For segmentation task, your label_batch_label
tensor is already mixed by this operation,
label_batch_label[:, bbx1:bbx2, bby1:bby2, bbz1:bbz2] = \
label_batch_label[rand_index_label, bbx1:bbx2, bby1:bby2, bbz1:bbz2]
So the original criterion cannot directly be applied for this case. I guess this paper is somewhat related for cutmix and segmentation task.
I use 3d image data, so I cutmix a volume. In addition, I am not clear about how to set some parameters in this case. Could you give me some Suggestions?
You might have to try various types of CutMix on the 3d space. Perhaps some axis (ex: time-axis) would be critical for the performance, so preserving it would be important.
I'm very interested in your work and recently I've been trying to use it in the segmentation problem and here I have a couple of questions, one, how does this formula: loss = criterion(output, target_a) lam + criterion(output, target_b) (1. -lam) in the paper expand into the segmentation problem?I use 3d image data, so I cutmix a volume. In addition, I am not clear about how to set some parameters in this case. Could you give me some Suggestions? here is my implementation :