Nothing.
- Python >=3.8
- PyTorch >=1.9
- Torchvision > 0.16
- segmentation-models-pytorch
- Download dataset from Merged mask BUSI dataset and affirm number of images in the dataset by:
python check_dataset.pyIf there are any missing, you can download the original dataset from here then run the merge mask code to generate same our experimental dataset by:
python merge_mask_BUSI.py- Clone the repository
git clone https://github.com/datct00/breast_ultrasound.git
cd breast_us- Install the dependencies
pip install -r requirements.txt-
Adjust
ARCH,ENCODER_NAMEandOUTPUT_DIRparameter inhyper.pyfile to indicate different architectures and backbones. -
Train classification
cd single_model
python train_classification.py- Train segmentation
cd single_model
python train_segmentation.py@misc{Iakubovskii:2019,
Author = {Pavel Iakubovskii},
Title = {Segmentation Models Pytorch},
Year = {2019},
Publisher = {GitHub},
Journal = {GitHub repository},
Howpublished = {\url{https://github.com/qubvel/segmentation_models.pytorch}}
}