Skip to content

QC Failures: Nifty Header & Sequence Support #431

@m-reuter

Description

@m-reuter
          I made the changes to --user 1001:1001 and it kinda worked but now I have error "FastSurfer asegdkt segmentation failed".

C:\Windows\System32>docker run -v C:/Users/Ernes/my_mri_data:/data -v C:/Users/Ernes/my_fastsurfer_analysis:/output -v C:/Users/Ernes/my_fs_license_dir:/fs_license --rm --user 1001:1001 deepmi/fastsurfer:cpu-latest --fs_license /fs_license/license.txt --t1 /data/subjectX/H1.nii.gz --device cpu --sid subjectX --sd /output --parallel
Version: 2.2.0+9f37d02
Sun Jan 14 08:23:58 UTC 2024

python-s /fastsurfer/FastSurferCNN/run_prediction.py --t1 /data/subjectX/H1.nii.gz --asegdkt_segfile /output/subjectX/mri/aparc.DKTatlas+aseg.deep.mgz --conformed_name /output/subjectX/mri/orig.mgz --brainmask_name /output/subjectX/mri/mask.mgz --aseg_name /output/subjectX/mri/aseg.auto_noCCseg.mgz --sid subjectX --seg_log /output/subjectX/scripts/deep-seg.log --vox_size min --batch_size 1 --viewagg_device auto --device cpu
[INFO: run_prediction.py: 546]: Checking or downloading default checkpoints ...
[INFO: common.py: 111]: Using device: cpu
[INFO: run_prediction.py: 234]: Running view aggregation on cpu
[INFO: inference.py: 200]: Loading checkpoint /fastsurfer/checkpoints/aparc_vinn_coronal_v2.0.0.pkl
[INFO: inference.py: 200]: Loading checkpoint /fastsurfer/checkpoints/aparc_vinn_sagittal_v2.0.0.pkl
[INFO: inference.py: 200]: Loading checkpoint /fastsurfer/checkpoints/aparc_vinn_axial_v2.0.0.pkl
[INFO: common.py: 820]: Single subject with absolute file path for input.
[INFO: common.py: 833]: No subjects directory specified, but the parent directory of the output file /output/subjectX/mri/aparc.DKTatlas+aseg.deep.mgz is 'mri', so we are assuming this is the 'mri' folder in the subject directory.
[INFO: common.py: 875]: Analyzing single subject /data/subjectX/H1.nii.gz
[INFO: common.py: 970]: Output will be stored in Subjects Directory: /output
[INFO: run_prediction.py: 310]: Successfully loaded image from /data/subjectX/H1.nii.gz.
[INFO: run_prediction.py: 418]: Output image directory 001.mgz does not exist. Creating it now...
Traceback (most recent call last):
File "/fastsurfer/FastSurferCNN/run_prediction.py", line 561, in
for subject, (orig_img, data_array) in iter_subjects:
File "/fastsurfer/FastSurferCNN/run_prediction.py", line 462, in pipeline_conform_and_save_orig
yield subject, self.conform_and_save_orig(subject)
File "/fastsurfer/FastSurferCNN/run_prediction.py", line 316, in conform_and_save_orig
if not conf.is_conform(
File "/fastsurfer/FastSurferCNN/data_loader/conform.py", line 625, in is_conform
iaffine = img.affine[0:3, 0:3] - LIA_affine * (
ValueError: operands could not be broadcast together with shapes (3,3) (4,)
ERROR: FastSurfer asegdkt segmentation failed.

Originally posted by @KontorErnestKissi in #428 (comment)

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