MedViTV2
MedViTV2: Medical Image Classification with KAN-Integrated Transformers and Dilated Neighborhood Attention (Applied Soft Computing 2025)
File Explorer
Download Latest Version (.zip)- _init.py
- bloodmnist_MedViT_small.json
- breastmnist_MedViT_small.json
- chestmnist_MedViT_small.json
- dermamnist_MedViT_small.json
- octmnist_MedViT_small.json
- organamnist_MedViT_small.json
- organcmnist_MedViT_small.json
- organsmnist_MedViT_small.json
- pathmnist_MedViT_small.json
- pneumoniamnist_MedViT_small.json
- retinamnist_MedViT_small.json
- tissuemnist_MedViT_small.json
- ACC.png
- bloodmnist.png
- breastmnist.png
- chestmnist.png
- cover.jpg
- dermamnist.png
- init
- logo.jpg
- octmnist.png
- organamnist.png
- organcmnist.png
- organsmnist.png
- pathmnist.png
- pneumoniamnist.png
- retinamnist.png
- structure.png
- tissuemnist.png
- visualize.png
- GradCam_MedViT_large.py
- Evaluation.ipynb
- Visualization.ipynb
- __init__.py
- datasets.py
- fasterkan.py
- LICENSE
- main.py
- MedViT.py
- README.md
- requirements.txt
# Installation Guide
git clone https://github.com/Omid-Nejati/MedViTV2
Downloads the entire project code from GitHub to your computer.
cd MedViTV2
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu124
Installs the package published on PyPI directly β no need to clone the source.
pip install natten==0.17.3+torch250cu124 -f https://shi-labs.com/natten/wheels/
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
3. Python
Easypip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu124
Installs the package published on PyPI directly β no need to clone the source.
pip install natten==0.17.3+torch250cu124 -f https://shi-labs.com/natten/wheels/
Installs the package published on PyPI directly β no need to clone the source.
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
Pulled directly from this repo's README.
