External Email - Use Caution Hello experts, I've installed FreeSurfer 7.3.2 and used SynthSeg with --parc --robust and --threads options. The Virtual Machine I use has 4 cores and 20GB of ram, running Ubuntu 18.04. I've executed the same command without --threads option and it works perfectly, even running 4 different subjects at the time. As usual, I've used as input NIFTI archives of raw scans (one .nii file per subject) But, If I run one single subject with SynthSeg and I use --threads option >1, it terminates with the error underneath:
*SynthSeg-robust 2.0using 4 threadspredicting 1/1terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_allocAborted (core dumped)* I've tested with 4, 3, 2 threads and it doesn't work. I've also checked for memory allocation and the maximum it reaches is approx 50%, before terminating. I use tensorflow-cpu==2.12.0 Any help is appreciated Regards GS
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . 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.