Skip to content

Error using onnxmex with Chisep_script #5

@weberam2

Description

@weberam2

Hello,

I get the following error when trying to run chi_sepnet_general:

Expiry Date:06-Feb-2025
Error using onnxmex
Opening file '~/matlab/chi-separation/Chi_Sep_Tool/models/QSMmodel.onnx' failed.

Error in nnet.internal.cnn.onnx.ModelProto (line 33)
ModelPtr = onnxmex(int32(FuncName.EdeserializeFromFile), filename);

Error in nnet.internal.cnn.onnx.importONNXNetwork (line 7)
modelProto = nnet.internal.cnn.onnx.ModelProto(Filename);

Error in importONNXNetwork (line 52)
Network = nnet.internal.cnn.onnx.importONNXNetwork(modelfile, varargin{:});

Error in chi_sepnet

Error in chi_sepnet

Error in chi_sepnet_general

Error in Chisep_script_v1 (line 179)
[x_pos, x_neg, x_tot] = chi_sepnet_general(home_directory, local_field_hz, map, mask_brain_new, Dr, B0_direction, CF,
voxel_size, matrix_size, have_r2map);

What is weird is that it did work ONCE...

I am on:
Matlab R2021a
Ubuntu 20.04.6 LTS x86_64

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