Diff-UNet icon indicating copy to clipboard operation
Diff-UNet copied to clipboard

BTCV/test.py label input.

Open ToruHironaka opened this issue 1 year ago • 1 comments

Program file "BTCV/text.py " a line of code at the line number 100 below. This line of code should be batch["label"] instead of batch["raw_label"]. Because batch["raw_label"] does not match with input's volume sizes.

label = batch["raw_label"] --> label = batch["label"]

image

ToruHironaka avatar May 18 '23 21:05 ToruHironaka

You should use the "raw_label" in the test phase.

image

We should compute the metric using the "out" and "label" with original size.

920232796 avatar May 19 '23 01:05 920232796