Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.2 KB

INSTALL.md

File metadata and controls

41 lines (34 loc) · 1.2 KB

Installation

Create Environments

conda create -n atlas python=3.9
source activate atlas
cd AbdomenAtlas/
pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
pip install monai[all]==0.9.0
pip install -r requirements.txt
[Optional] If You are using ASU GPU Cluster

Please first read the document at Essence for Linux newbies

module load anaconda3/5.3.0 # only for Agave

module load mamba/latest # only for Sol
mamba create -n atlas python=3.9

Download Pretrained Weights

cd pretrained_weights/
wget https://www.dropbox.com/s/po2zvqylwr0fuek/swin_unetr.base_5000ep_f48_lr2e-4_pretrained.pt
wget https://www.dropbox.com/s/lh5kuyjxwjsxjpl/Genesis_Chest_CT.pt
cd ../
cd pretrained_checkpoints/
wget https://www.dropbox.com/s/jdsodw2vemsy8sz/swinunetr.pth
wget https://www.dropbox.com/s/lyunaue0wwhmv5w/unet.pth
cd ..

Define Variables

dataname=01_Multi-Atlas_Labeling # an example
datapath=/medical_backup/PublicAbdominalData/
savepath=/medical_backup/Users/zzhou82/outs