Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data augmentation #2610

Open
jiwonpoong opened this issue Nov 20, 2024 · 1 comment
Open

data augmentation #2610

jiwonpoong opened this issue Nov 20, 2024 · 1 comment
Assignees

Comments

@jiwonpoong
Copy link

I hope this message finds you well. My name is Ji-won, and I have recently started studying medical image segmentation. I want to express my gratitude for the open code resources you have shared, as they have been incredibly helpful in my learning journey.

I have a question regarding augmentation. In your documentation, you mentioned "fixed parameters" for augmentation, and I was wondering where I might find details about the augmented data. After preprocessing, the plans.json file primarily includes information about cropping and normalization. Could you please clarify if additional augmentations, such as mirroring or rotation, are also applied?

Thank you very much for your time and assistance. I greatly appreciate your guidance.

    "3d_fullres": {
        "data_identifier": "nnUNetPlans_3d_fullres",
        "preprocessor_name": "DefaultPreprocessor",
        "batch_size": 13,
        "patch_size": [
            24,
            128,
            128
        ],
        "median_image_size_in_voxels": [
            24.0,
            128.0,
            128.0
        ],
        "spacing": [
            1.0,
            1.0,
            1.0
        ],
        "normalization_schemes": [
            "ZScoreNormalization"
        ],
        "use_mask_for_norm": [
            false
        ],
        "UNet_class_name": "PlainConvUNet",
        "UNet_base_num_features": 32,
        "n_conv_per_stage_encoder": [
            2,
            2,
            2,
            2,
            2,
            2
        ],
        "n_conv_per_stage_decoder": [
            2,
            2,
            2,
            2,
            2
        ],
        "num_pool_per_axis": [
            2,
            5,
            5
        ],
        "pool_op_kernel_sizes": [
            [
                1,
                1,
                1
            ],
            [
                2,
                2,
                2
            ],
            [
                2,
                2,
                2
            ],
            [
                1,
                2,
                2
            ],
            [
                1,
                2,
                2
            ],
            [
                1,
                2,
                2
            ]
        ],
        "conv_kernel_sizes": [
            [
                3,
                3,
                3
            ],
            [
                3,
                3,
                3
            ],
            [
                3,
                3,
                3
            ],
            [
                3,
                3,
                3
            ],
            [
                3,
                3,
                3
            ],
            [
                3,
                3,
                3
            ]
        ],
        "unet_max_num_features": 320,
        "resampling_fn_data": "resample_data_or_seg_to_shape",
        "resampling_fn_seg": "resample_data_or_seg_to_shape",
        "resampling_fn_data_kwargs": {
            "is_seg": false,
            "order": 3,
            "order_z": 0,
            "force_separate_z": null
        },
        "resampling_fn_seg_kwargs": {
            "is_seg": true,
            "order": 1,
            "order_z": 0,
            "force_separate_z": null
        },
        "resampling_fn_probabilities": "resample_data_or_seg_to_shape",
        "resampling_fn_probabilities_kwargs": {
            "is_seg": false,
            "order": 1,
            "order_z": 0,
            "force_separate_z": null
        },
        "batch_dice": false
    }
},
"experiment_planner_used": "ExperimentPlanner",
"label_manager": "LabelManager",
"foreground_intensity_properties_per_channel": {
    "0": {
        "max": 2176930.75,
        "mean": 156755.5,
        "median": 0.22912544012069702,
        "min": -1.236618161201477,
        "percentile_00_5": -0.7659720778465271,
        "percentile_99_5": 1269401.75,
        "std": 341077.09375
    }
}

}

@seziegler
Copy link
Member

Hi @jiwonpoong ,
here you can find all train augmentations and below also the validation augmentations that are used in the default trainer.
If you have further questions or need more clarifications about the augmentations let me know!
Best,
Sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants