Skip to content

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CECT: CNN-Transformer Classifier

Official Pytorch Implementation for Paper β€œCECT: Controllable Ensemble CNN and Transformer for COVID-19 Image Classification”

Preparation

To train CECT on your dataset, run the below command in the terminal

python train.py

You should have a "recording" folder located at the root

The organization of the dataset should follow

β”œβ”€β”€ datasets
    β”œβ”€β”€ your_dataset_name
        β”œβ”€β”€ training
        |   β”œβ”€β”€ class_1
        |   |   β”œβ”€β”€ img_1.jpg
        |   β”‚   β”œβ”€β”€ img_2.jpg
        |   β”‚   β”œβ”€β”€ ...
        |   β”œβ”€β”€ class_2
        |   |   β”œβ”€β”€ img_a.jpg
        |   β”‚   β”œβ”€β”€ img_b.jpg
        |   β”‚   β”œβ”€β”€ ...
        |   β”œβ”€β”€ ...
        └── validation
        └── test

Citation

If you find CECT useful for your research, please cite our paper as

@article{liu2024cect,
  title={CECT: Controllable ensemble CNN and transformer for COVID-19 image classification},
  author={Liu, Zhaoshan and Shen, Lei},
  journal={Computers in Biology and Medicine},
  pages={108388},
  year={2024},
  publisher={Elsevier}
}

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages