This repository provides the official implementation of Multi-Level Peritumoral-Aware Mixture Learning for Breast Tumor Diagnosis
| Organ | Images | Categories | Links |
|---|---|---|---|
| BUS-BRA | 1875 | Malignant & Benign | BUS-BRA |
| BUSI | 647 (exclude 133 normal) | Malignant & Benign | BUSI |
| QAMEBI | 232 | Malignant & Benign | QAMEBI |
| Models | Weights for BUS-BRA | Weights for BUSI | Weights for QAMEBI |
|---|---|---|---|
| PAMIX | Weights | Weights | Weights |
| Uni-PAMIX | Weights | Weights | Weights |
-
Clone the repository.
git clone https://github.com/Git-HB-CHEN/PAMIX-Family.git cd PAMIX-Family -
Create a virtual environment and activate the environment.
conda create -n PAMIX-Family python=3.8 conda activate PAMIX-Family -
Install Pytorch == 1.13.0+cu117, and torchvision==0.14.0+cu117. (You can follow the instructions here)
-
Install other dependencies.
pip install -r requirements.txt
-
Download the
Weightsof the PAMIX-Family -
Place your images in the
examplesfolder -
Infer your images with the PAMIX
python infer_PAMIX.py
-
Infer your images with the Uni-PAMIX
python infer_Uni-PAMIX.py
The relevant codes and weights are under preparation and will be made available soon.