Skip to content

weight download #2

@Edouard2laire

Description

@Edouard2laire

Hi.

First, thanks for making siam more accessible. I just tried the model but it seems to fail downloading the weight:

[edelaire1@home-imglab01:~/Downloads/siamize-0.2.0-macos-arm64-coreml]$ ./siamize -i sub-Edouard_ses-01_T1w.nii -o labels.nii -M 0:4 -F nii
[hint]     lowmem preset applied (memory-tight host detected; RAM 16384 MB, VRAM 8192 MB):
[hint]       --cudnn-max-workspace 0
[hint]       --gpu-mem-limit 6G
[hint]     (override by passing the flags explicitly; see --help)
[siamize]  v0.2.0 (Agate)  device=auto  threads=8 (auto)  format=nii
[input]    sub-Edouard_ses-01_T1w.nii
           canon shape (Z,Y,X) (320,300,256)  voxel size (X,Y,Z) (0.800,0.800,0.800) mm
[crop]     nonzero bbox (Z,Y,X) (319,299,256)
[resample] (Z,Y,X) (340,319,273) @ 0.750 mm
[weights]  fetching https://neurojson.org/io/stat.cgi?action=get&db=siam_v03&doc=coreml&file=0:4.gz
######################################################################### 100.0%curl: (22) The requested URL returned error: 404                                

[weights]  fetching https://neurojson.org/io/stat.cgi?action=get&db=siam_v03&doc=coreml&file=0:4 -> /Users/edelaire1/.cache/siamize/models/coreml/0:4
######################################################################### 100.0%curl: (22) The requested URL returned error: 404

siamize: could not find or fetch model: 0:4
  looked in: /Users/edelaire1/.cache/siamize/models/coreml
  tried URL: https://neurojson.org/io/stat.cgi?action=get&db=siam_v03&doc=coreml&file=0:4.gz
  also tried: https://neurojson.org/io/stat.cgi?action=get&db=siam_v03&doc=coreml&file=0:4
ensure `curl` is on PATH, or pre-place the file at the cache path.

Edit:

Running:
./siamize -i sub-Edouard_ses-01_T1w.nii -o labels.nii -F nii

works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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