Skip to content

Question about preprocessing in the official implementation #21

@zzzyzh

Description

@zzzyzh

Hi, thank you for the great work!

I noticed the following preprocessing steps in the official code:

slice_arr = img_arr[:,:,slice_indx-2: slice_indx+3]
slice_arr = np.flip(np.rot90(slice_arr, k=1, axes=(0, 1)), axis=1)

mask_arr_2D = mask_arr[:,:,slice_indx-2: slice_indx+3]
mask_arr_2D = np.flip(np.rot90(mask_arr_2D, k=1, axes=(0, 1)), axis=1)

I was wondering if there is any specific reason or motivation behind this operation. Does this transformation have a particular significance for the training process?

Also, it seems that similar preprocessing is not applied during inference/testing. Would this inconsistency affect the final accuracy or introduce any bias?

Thanks in advance for your clarification!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions