Skip to content

Cropping image does not make sense for training 2D kernel #4

@jcohenadad

Description

@jcohenadad

### Crop images
Crop images and their respective mask in order to remove certain slices:
~~~
python ./utils/crop_image_and_mask.py --folder-path /path/to/folder/ --file-name file_name.nii.gz --first-slice XXX --last-slice XXX
~~~

I understand the pertinence of this code when training the 3D model (ie: once the 2D model was trained), but the way it appears in the README suggests this script needs to be run before training the 2D model.

@plbenveniste is this a mis-placement of that section in the README?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions