Skip to content

Implementation of enhanced DenseNet121 architecture integrated by dilated convolution and Squeeze-and-Excitation (SE) networks for brain tumor MRI classification, by Pytorch

Notifications You must be signed in to change notification settings

kimjiwook0129/Improved-DenseNet-for-Brain-tumor-MRI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dilated SE-DenseNet for Radiographic Brain Tumor Classification

Overview

This repository implements the enhanced DenseNet121 architecture integrated by dilated convolution and Squeeze-and-Excitation (SE) networks to improve the diagnostic accuracy in brain tumor classification through MRI images.

Screen Shot 2023-12-10 at 10 39 50 PM

Data

We trained and evaluated our model using a comprehensive Kaggle brain tumor dataset comprising 7023 images, classified into four categories, including healthy brain. The dataset was augmented and preprocessed for optimal model training.
The dataset can be found here

Model Architecture

Our model advances upon the traditional DenseNet-121 architecture, integrating dilated convolution in place of some standard convolutional layers and augmenting with an SE mechanism. These innovations enhance the model’s representation learning capabilities.

Screen Shot 2023-12-10 at 10 44 07 PM

Training

We used the AdamW optimizer with a custom Label Smoothing cross-entropy loss function and employed a Cosine Annealing learning rate scheduler. The model was trained over 50 epochs with a batch size of 256.

Testing

Our evaluation used a 10-crop method, involving resizing each image to 256 × 256 pixels and producing ten distinct crops per image. The final test report averages the results over these crops.

Results

The model demonstrated superior learning ability, outperforming pre-trained models: ResNet50, VGG16, ViT_16, DenseNet121, and Efficient_V2 in later training epochs and in testing.

Screen Shot 2023-12-10 at 10 49 14 PM

Future Work

Future research will focus on the implementation of advanced image augmentation techniques, integration of multi-scale network architecture, and adaptive dilation convolution rates.

Contributions

This work was collaboratively conducted by Yuannong Mao and Edward Jiwook Kim from University of Waterloo.

About

Implementation of enhanced DenseNet121 architecture integrated by dilated convolution and Squeeze-and-Excitation (SE) networks for brain tumor MRI classification, by Pytorch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%