Skip to content

Problem running inference on new data #44

@jcohenadad

Description

@jcohenadad

Problem

According to private discussions between @plbenveniste and Benjamin, running the code version https://github.com/ivadomed/model_seg_mouse-sc_wm-gm_t1/releases/tag/v0.3 on new data produced the following error:

image

The cause of the issue, identified by @plbenveniste, is that the input data have a corrupted NIfTI header. More specifically, the physical dimensions of the voxels are wrong, which cause memory saturation during resampling as part of the nnUnet preprocessing pipeline.

Solution

A solution is to make sure the data are correct. To do so:

  • in the first place, the data coming from the scanner should be converted to NIfTI using proper software. Dcm2niix is an example of a good software.
  • Alternatively (although the previous solution is best), the NIfTI headers could be manually corrected:

Metadata

Metadata

Assignees

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