Dual-Channel CNN-Transformer Tumor Detection

general · architecture diagram.

About This Architecture

Dual-channel CNN-Transformer architecture combining DenseNet-169 and Swin-Tiny for three-class tumor detection (non-affected, benign, malignant) on 224×224 RGB images. DenseNet branch feeds through frozen backbone layers DB1–DB2, progressively unfreezing DB4 at epoch 10 and DB3 at epoch 20, while Swin-Tiny unfreezes Stage 3 and Stage 2 on the same schedule. Both branches output 512-dimensional embeddings via projection layers, fused through a gated attention module that learns optimal channel weighting before classification. MEAB block in the DenseNet path applies multi-dilated convolutions, squeeze-excitation attention, and adaptive feature fusion to capture multi-scale tumor morphology. Training uses cosine annealing (50 epochs), label smoothing, balanced class sampling via stratified 80/20 split, and early stopping on validation accuracy with 10-epoch patience. Fork this diagram on Diagrams.so to customize layer unfreezing schedules, adjust fusion gate mechanisms, or adapt for different medical imaging datasets and classification tasks.

People also ask

How do you combine DenseNet and Vision Transformer branches with gated fusion for medical image tumor detection?

This diagram shows a dual-channel architecture where DenseNet-169 and Swin-Tiny process input images in parallel, each outputting 512-d embeddings. A gated fusion module learns optimal channel weighting via sigmoid gating before feeding the fused representation to a classifier head, enabling the model to leverage both CNN spatial precision and Transformer global context for tumor classification.

Dual-Channel CNN-Transformer Tumor Detection

Autoadvanceddeep learningmedical imagingCNN-Transformer hybridtumor detectiongated fusionDenseNet Swin
Domain: Ml PipelineAudience: Machine learning engineers and medical imaging researchers building multi-branch deep learning models for tumor classifi
0 views0 favoritesPublic

Created by

March 27, 2026

Updated

March 27, 2026 at 3:07 PM

Type

architecture

Need a custom architecture diagram?

Describe your architecture in plain English and get a production-ready Draw.io diagram in seconds. Works for AWS, Azure, GCP, Kubernetes, and more.

Generate with AI