-
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt
- Download the dataset from Kaggle: Brain Tumor MRI Dataset.
- Extract the
TrainandTestfolders to theData/Brain_Tumorfolder in the main project directory.
- Download the dataset from Kaggle: Ultrasound Fetus Dataset.
- Extract the
trainandtestfolders to theData/Fetusfolder in the main project directory.
- Download the dataset from Kaggle: Annotated Ultrasound Liver images Dataset.
- Extract the
727660folder to main project directory and runpython liver_test_train_data.py. - Delete the
727660folder in the main project directory.
After the setup is completed, the file directory should look like this:
├── Data
│ ├── Brain_Tumor
│ │ ├── Train
│ │ └── Test
│ ├── Fetus
│ │ ├── train
│ │ └── test
| └── Liver
│ ├── train
│ └── test
├── Models
│ ├── brain_tumor_model.h5
│ ├── fetus_model.h5
│ └── liver_model.h5
├── venv/
├── brain_tumor_mlp_model_detection.ipynb
├── fetus_mlp_model_detection.ipynb
├── liver_mlp_model_detection.ipynb
├── liver_test_train_data.py
├── requirements.txt
├── venv/
└── README.md