Diff of /HTNet/README.md [000000] .. [1fc74a]

Switch to unified view

a b/HTNet/README.md
1
PyTorch code used to train a deep learning model for the diagnosis of Hashimoto's thyroiditis from thyroid ultrasound images.
2
3
Code brought from https://github.com/pytorch/vision/tree/master/references/classification.
4
5
The example was tested with Python (v3.8.5), PyTorch (v1.7.1+cu101) and TorchVision (v0.8.2) on Ubuntu 16.04.5 and 20.04.2 LTS.
6
7
To run the example `train.sh` for each task, you need to install `pytorch` and `torchvision`.
8
For detail installation procedure, please refer to https://pytorch.org.
9
10
The example can be run without GPU. However, GPUs are recommended to use if training with large-scale image data.
11
12
## 1. Installation (5 min)
13
```bash
14
pip install torch==1.7.1 torchvision==0.8.2 sklearn pandas
15
```
16
17
## 2. Git clone (1 min)
18
```bash
19
git clone https://github.com/lixiangchun/AIplus
20
```
21
22
## 3. Run HTNet example (10 min)
23
```bash
24
cd AIplus/HTNet
25
26
cd image-modality
27
bash train.sh
28
29
cd ../multi-modality
30
bash train.sh
31
```
32
33
## 4. Expected output
34
Model checkpoint file.
35