In the name of God
This gist contains steps to setup Ubuntu 22.04 for deep learning.
| #!/bin/bash | |
| filename="openrndr-guide" | |
| domain="guide.openrndr.org" | |
| path="" # /some/folder/ if the guide is not located at / | |
| mkdir -p /tmp/manual | |
| cd /tmp/manual || exit | |
| # curl downloads the index page of the website |
| import SimpleITK as sitk | |
| import numpy as np | |
| # A path to a T1-weighted brain .nii image: | |
| t1_fn = './brain_t1_0001.nii' | |
| # Read the .nii image containing the volume with SimpleITK: | |
| sitk_t1 = sitk.ReadImage(t1_fn) | |
| # and access the numpy array: |