|
a |
|
b/README.md |
|
|
1 |
# UNET Segmentation on CT Scan Images |
|
|
2 |
|
|
|
3 |
Dataset - [Kaggle Dataset Link](https://www.kaggle.com/datasets/nikhilroxtomar/ct-heart-segmentation) |
|
|
4 |
|
|
|
5 |
### How to Train the Model |
|
|
6 |
|
|
|
7 |
``` |
|
|
8 |
1. python3 -m pip install --user virtualenv (In Mac or Linux) |
|
|
9 |
python -m pip install --user virtualenv (In Windows) |
|
|
10 |
|
|
|
11 |
[Make sure Python3 is installed in your system] |
|
|
12 |
|
|
|
13 |
2. python3 -m venv env (In Mac or Linux) |
|
|
14 |
python -m venv env (In Windows) |
|
|
15 |
|
|
|
16 |
3. source env/bin/activate (In Mac or Linux) |
|
|
17 |
.\env\Scripts\activate (In Windows) |
|
|
18 |
|
|
|
19 |
4. pip3 install --upgrade pip (In Mac or Linux) |
|
|
20 |
pip install --upgrade pip (In Windows) |
|
|
21 |
|
|
|
22 |
4. pip3 install -r requirements.txt (In Mac or Linux) |
|
|
23 |
pip install -r requirements.txt (In Windows) |
|
|
24 |
``` |
|
|
25 |
|
|
|
26 |
> Formatter Used - black |
|
|
27 |
|
|
|
28 |
### Project Structure |
|
|
29 |
``` |
|
|
30 |
. |
|
|
31 |
├── README.md |
|
|
32 |
├── dataloader |
|
|
33 |
│ └── data.py |
|
|
34 |
├── eval.py |
|
|
35 |
├── logs |
|
|
36 |
├── metrics.py |
|
|
37 |
├── models |
|
|
38 |
│ └── unet.py |
|
|
39 |
├── predict.py |
|
|
40 |
├── requirements.txt |
|
|
41 |
├── results |
|
|
42 |
├── saved_models |
|
|
43 |
└── train.py |
|
|
44 |
``` |
|
|
45 |
|
|
|
46 |
Thank You! |