External Email - Use Caution        

Dear Freesurfer Developers,

I am attempting to use Freesurfer on MacOS Ventura (version 13.5.2) with an
M2 Pro silicone chip and GPU. I have successfully installed Freesurfer
version 7.4.1.
I am trying to use samseg for cross-sectional MS lesion volume analysis by
running the following command:

run_samseg --input Freesurfer_subjects/T1.nii
Freesurfer_subjects/FAMUS/T2FLAIR_reg.nii --pallidum-separate --lesion
--lesion-mask-pattern 0 1 --output Freesurfer_subjects/FAMUS/samseg


I get the error message:

zsh: illegal hardware instruction  run_samseg --input
Freesurfer_subjects/FAMUS/T1.nii   --lesion  0 1


As described in the samseg manual, one may be prompted to use Tensorflow
when using this module for the first time. I was not prompted to do so but
I did install it (and python3 as well) using the instructions here:
https://secure-web.cisco.com/13jV9GWC39Eu7ptAevMhql74Ty0xCnVcRkXqXbKh6yiJZqpsH35Pq-d58AiZMs1B11DKX592abOZ-Sk5hEQr8uo_xCBj8FbuL-Q4J93LUzylV2Lg-KpudF-aWM6hEGcZwIR6-yL1YV510eJdMHISqNjqAUEAdmgXno95XxgRd3ZZ3R_i3Q8IiYzZTMwgjmoDzDD0GYkpAiIvxAqKTiztazuJzF6foau37pBtEpB1VRS_Zg7djZ0QpRHhrjhTfMun_IwuwCbP8Zq3_4MrnKuZPuOEk5iHySm5P-bZBHMHfOaraR52G-ri_QCH5GEJePaFw4tz_laPh4BLe9uKfC0T-1Q/https%3A%2F%2Fwww.tensorflow.org%2Finstall%2Fpip
After this, I still get the above error message.

I can also see that there is no support for running Tensorflow on Mac
with GPU.
Does this mean that there's no way for me to run this command or is there
anything else I can try to solve this?
Of note, the basic samseg command (run_samseg --input <file> [<file> ...]
--output <dir> [--threads <threads>] [--pallidum-separate]) is
running without any issues.

Thank you,
Bianka
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to