README.md 1.7 KB
Newer Older
wangsen's avatar
wangsen committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

# 数据集

```
wget  https://ai-studio-online.bj.bcebos.com/v1/ada573fa061f47f2a2dff3688945fec0e8365bf17be1443589a3881a5800e432?responseContentDisposition=attachment%3Bfilename%3DCT_Images_In_COVID19-Part1.zip&authorization=bce-auth-v1%2F5cfe9a5e1454405eb2a975c43eace6ec%2F2024-09-04T03%3A58%3A02Z%2F21600%2F%2Ffbb15923d3302c46f764d6d1786649aab1ff511477b2cae3d60491908e2be8bf

wget https://ai-studio-online.bj.bcebos.com/v1/558e6cb320e0447e94d8ef20650aed520afbc8c1f9de41a2a334929d298285e2?responseContentDisposition=attachment%3Bfilename%3DCT_Images_In_COVID19-Part2.zip&authorization=bce-auth-v1%2F5cfe9a5e1454405eb2a975c43eace6ec%2F2024-09-04T03%3A56%3A05Z%2F21600%2F%2F707941e360adde3241b39066cf294431d87a5107685d6fead6eea92d43554b8d

```

下载 BraTS2021_Training_Data 数据集  并解压
```
wget  https://ai-studio-online.bj.bcebos.com/v1/0c71fcd19af54b8aa2cbd7e60223e1e423b796914bde4d1aa6e51ed885da6cc8?responseContentDisposition=attachment%3Bfilename%3DBraTS2021_Training_Data.tar&authorization=bce-auth-v1%2F5cfe9a5e1454405eb2a975c43eace6ec%2F2024-09-04T07%3A48%3A47Z%2F21600%2F%2F23b6fcd6552a3373877076b11c6aa7ee9c4dafea0bfe430555f0a6abde0a43cc

mkdir -p  /dataset/brats2021/TrainingData/
```


# 环境搭建

```
git  clone https://github.com/Project-MONAI/research-contributions.git
cd SwinUNETR/BRATS21
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install tensorboard

wangsen's avatar
wangsen committed
27
pip install 'monai[all]'==1.2.0  -i  https://pypi.tuna.tsinghua.edu.cn/simple/
wangsen's avatar
wangsen committed
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
pip install protobuf==3.20.1 -i  https://pypi.tuna.tsinghua.edu.cn/simple
```

# 训练


```
python main.py  --json_list='./jsons/brats21_folds.json'

```

# 推理


# 参考链接
https://github.com/Project-MONAI/research-contributions.git