External Email - Use Caution        

 
The fix for the error you posted when running the 8.0.0 beta release - which has to do with how some python code is run - will be fixed in the forthcoming 8.0.0 release; it’s unrelated to your environment setup.

The commands that run the recon-all pipeline in the 8.0.0-beta 2024 release have changed since the older 7.2.0 release from 2021, so 7.2.0 does not reproduce that error.  You could try setting the environment variable listed below on your 8.0.0-beta recon-all command line (bash shell example) to revert to the older recon-all behavior.

$ export FS_V8_XOPTS=0 && recon-all <your arguments here>

- R.

On Feb 6, 2025, at 01:02, Lee Lin <lee.kevin.lin@gmail.com> wrote:

        External Email - Use Caution        


Dear FreeSurfer developers,


running the 8.0.0-betaRecently, I attempted to run FreeSurfer on my new work computer (MacBook Pro, Apple M3 Max, macOS 14.6). I found that v8.0.0 beta is the only compatible version, and the installation appeared to be successful.


However, when running recon-all on my 7T anatomical data using the following command:

recon-all -i <path_to_anatomy_nii_file> -s <subject_initials> -all

I encountered an error during subcortical segmentation (see attached "7T_recon-all.log" and screenshots). It looks like the deep learning model used by mri_sclimbic_seg was reporting an input dimension mismatch


To diagnose the issue, I tested the following possibilities:

1. Is the error specific to this data?

I ran recon-all on other 7T anatomical data, but the same error occurred.

2. Is the error specific to 7T data?

I tested recon-all with 3T data, but in this case, the process was killed even earlier, and no useful error message was provided (see "3T_recon-all.log"). I’m unsure whether these two issues are related.

3. Is the issue related to the FreeSurfer version or my work environment?

I ran recon-all on an older MacBook Pro (Apple M1, macOS 12.6) using FreeSurfer 7.2.0, and the process completed successfullyThis suggests that the issue is specific to FreeSurfer v8.0.0 beta or my work environment rather than the dataset itself.


Do you have any suggestions on this issue?


Additionally, I noticed that FreeSurfer v8.0.0 beta uses a deep learning model for segmentation, which differs from previous versions. Is there a way to switch back to the traditional segmentation method?


I would greatly appreciate any insights or troubleshooting suggestions.


Best regards,

Lee Lin

<7T_recon-all.log><7T_recon-all_error-msg2.png><7T_recon-all_error-msg1.png><3T_recon-all.log>_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer