Lumett commited on
Commit
ac26eb0
·
verified ·
1 Parent(s): 6daf620

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -16
README.md CHANGED
@@ -43,24 +43,34 @@ You can also download pretrained checkpoints and task vectors:
43
  ```bash
44
  #!/bin/bash
45
 
46
- for url in \
47
- https://huggingface.co/Lumett/UNetTransplant/resolve/main/Abdomen/{
48
- Pretrain_AMOS.pth,
49
- TaskVector_Kidney_Abdomen.pth,
50
- TaskVector_Liver_Abdomen.pth,
51
- TaskVector_Spleen_Abdomen.pth,
52
- TaskVector_Stomach_Abdomen.pth
53
- } \
54
- https://huggingface.co/Lumett/UNetTransplant/resolve/main/ToothFairy/{
55
- Pretrain_Cui.pth,
56
- TaskVector_Canals_ToothFairy2.pth
57
- TaskVector_Mandible_ToothFairy2.pth
58
- TaskVector_Teeth_ToothFairy2.pth
59
- TaskVector_Pharynx_ToothFairy2.pth
60
- }; do
61
- wget "$url"
 
 
 
 
 
 
62
  done
63
 
 
 
 
 
64
  ```
65
 
66
  ### 4. Running the U-Net Transplant Framework
 
43
  ```bash
44
  #!/bin/bash
45
 
46
+ BASE_ABDOMEN="https://huggingface.co/Lumett/UNetTransplant/resolve/main/Abdomen"
47
+ BASE_TOOTHFAIRY="https://huggingface.co/Lumett/UNetTransplant/resolve/main/ToothFairy"
48
+
49
+ abdomen_files=(
50
+ Pretrain_AMOS.pth
51
+ TaskVector_Kidney_Abdomen.pth
52
+ TaskVector_Liver_Abdomen.pth
53
+ TaskVector_Spleen_Abdomen.pth
54
+ TaskVector_Stomach_Abdomen.pth
55
+ )
56
+
57
+ toothfairy_files=(
58
+ Pretrain_Cui.pth
59
+ TaskVector_Canals_ToothFairy2.pth
60
+ TaskVector_Mandible_ToothFairy2.pth
61
+ TaskVector_Teeth_ToothFairy2.pth
62
+ TaskVector_Pharynx_ToothFairy2.pth
63
+ )
64
+
65
+ echo "🩻 Downloading Abdomen files..."
66
+ for file in "${abdomen_files[@]}"; do
67
+ wget -c "${BASE_ABDOMEN}/${file}"
68
  done
69
 
70
+ echo "🦷 Downloading ToothFairy files..."
71
+ for file in "${toothfairy_files[@]}"; do
72
+ wget -c "${BASE_TOOTHFAIRY}/${file}"
73
+ done
74
  ```
75
 
76
  ### 4. Running the U-Net Transplant Framework