FDG2801 / CoTrFuse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoTrFuse

1.Download pre-trained swin transformer model (Swin-T)

2.Prepare data

3. Environment

  • Please prepare an environment with python=3.8, and then use the command "pip install -r requirements.txt" for the dependencies.

4. Train/Test

  • Run the train script on the ISIC-2017 and the COVID-QU-Ex dataset. The batch size we used is 8 and 16. If you do not have enough GPU memory, the bacth size can be reduced to 6 or 12 to save memory. For more information, contact 904363330@qq.com.

  • Train

python train_ISIC.py
python train_COV.py
  • Test
python test_ISIC.py
python test_COV.py

References

About


Languages

Language:Python 100.0%