|
2 | 2 |
|
3 | 3 |
|
4 | 4 | #NOTE: The baseline uses only the NAC-PET as input |
5 | | -# however, your model may use all images and metadata available |
| 5 | +# however, your model may use all the images and metadata available |
6 | 6 | # under the /features folder |
7 | 7 |
|
8 | 8 | def get_transforms(patch_size, num_samples=2): |
@@ -44,25 +44,6 @@ def get_transforms(patch_size, num_samples=2): |
44 | 44 | random_size=False, |
45 | 45 | num_samples=num_samples |
46 | 46 | ), |
47 | | - |
48 | | - #RandGaussianNoised(keys=["input"], prob=0.5, mean=0.0, std=0.05), |
49 | | - #RandScaleIntensityd(keys=["input"], factors=0.1, prob=0.5), |
50 | | - #RandShiftIntensityd(keys=["input"], offsets=0.1, prob=0.5), |
51 | | - #RandGaussianSmoothd( |
52 | | - # keys=["input"], |
53 | | - # sigma_x=(0.5, 1.0), sigma_y=(0.5, 1.0), sigma_z=(0.5, 1.0), |
54 | | - # prob=0.3, |
55 | | - #), |
56 | | - |
57 | | - # RandAffined( |
58 | | - # keys=["input", "ct", "prediction_mask"], |
59 | | - # prob=0.5, |
60 | | - # rotate_range=(0.087, 0.087, 0.087), # ±5° |
61 | | - # scale_range=(0.05, 0.05, 0.05), # ±5% |
62 | | - # mode=("bilinear", "bilinear", "nearest"), |
63 | | - # padding_mode="border", |
64 | | - # ), |
65 | | - |
66 | 47 | EnsureTyped(keys=["input", "ct", "prediction_mask"]), |
67 | 48 |
|
68 | 49 | ] |
|
0 commit comments