-
Notifications
You must be signed in to change notification settings - Fork 7
Error using onnxmex with Chisep_script #5
Description
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