Update README.md
Browse files
README.md
CHANGED
|
@@ -43,24 +43,34 @@ You can also download pretrained checkpoints and task vectors:
|
|
| 43 |
```bash
|
| 44 |
#!/bin/bash
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|