Tensorflow 1.12 in MacOS High Sierra with Cuda from Source

Posted · Add Comment

After numerous trial-and-error, Tensorflow 1.12 with Cuda is successfully compiled in MacOS High Sierra (in Mac Pro 2012). Prerequisites Cuda toolkit 10.1, cuDNN 7.5 Python 3.6 XCode 8.3.2 0. Install bazel (for unknown reason 0.18.1 causes pip installer problem). Download bazel-0.18.0-installer-darwin-x86_64.sh from https://github.com/bazelbuild/bazel/releases. chmod +x bazel-0.18.0-installer-darwin-x86_64.sh sudo ./bazel-0.18.0-installer-darwin-x86_64.sh 1. Make a working folder and clone Tensorflow code.Continue Reading

Merging anatomical regions

Posted · Add Comment

Preparation 1. Download the program for extract annotation table to LUT file. GWFSAnnotToLUT 2. Extract the annotation file and save it as editable format. WFSAnnotToLUT annot_file_path output_file_path For example, GWFSAnnotToLUT /iPsych/freesurfer/subjects/001/label/lh.aparc.annot  /iPsych/freesurfer/subjects/001/label/lh.annot.txt *replace the subject directory and subject numberings. Create new lookup table 1. Follow the guides below.