Skip to content

Segmentation fault after loading weights #283

Description

@adelesavalle

Hello,
I have troubles using TractSeg, I get the same error "segmentation fault", using raw diffusion data or directly ODF peaks. I am on OSX, installed tracts with pip, the packages are up to date, I reinstalled the used retrained weights just in case it was what is causing the problem (pretrained_weights_tract_segmentation_v3.npz)
Here is what I usually obtain :

(base) asavalle@MAC-03240202 Images % tractseg -i peaks.nii.gz -o tractseg_output --output_type tract_segmentation --no_postprocess --verbose

/Users/asavalle/Dev/miniconda3/bin/tractseg:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import require
Reorienting data...
Loading weights from: /Users/asavalle/.tractseg/pretrained_weights_tract_segmentation_v3.npz
Loading weights ... (/Users/asavalle/.tractseg/pretrained_weights_tract_segmentation_v3.npz)
zsh: segmentation fault tractseg -i peaks.nii.gz -o tractseg_output --output_type tract_segmentation

I saw the 2 issues #241 (comment) and #269 but it does not seem to be the same issues.
What could I do please ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions