Skip to content
Ananda Technologies Pvt. Ltd.
  • AI & ML
  • Python
  • M.Tech

Diabetic Retinopathy Detection M.Tech Project: EfficientNet-B0 with CBAM Attention, Ordinal Loss and Grad-CAM

Diabetic retinopathy detection M.Tech project with source code: a lightweight EfficientNet-B0 with CBAM attention and ordinal loss grades fundus images into five stages, tested on APTOS 2019 and IDRiD, with Grad-CAM heatmaps. Includes thesis and IEEE paper.

ForM.Tech CSEM.Tech IT

Platform
AI & ML + Python
Thesis delivery
3–5 days, for you
1-on-1 setup
AnyDesk / Meet
Support
Till your viva
  • Source code
  • Thesis + paper
  • Review PPTs
  • Viva book
AI & ML + PYTHONDiabetic Retinopathy Detection M.Tech Project: EfficientNet-B0 with CBAM Attention, Ordinal Loss and Grad-CAM

About this project

About the diabetic retinopathy detection M.Tech project

Diabetes slowly damages the tiny blood vessels of the retina, and without early screening a patient can lose sight for good. This diabetic retinopathy detection M.Tech project grades a colour fundus photograph into five stages (No DR, Mild, Moderate, Severe, Proliferative) and draws a heatmap that shows which spots led to the grade.

The research question is practical: can one light network with attention match a heavy two-branch CNN and transformer model, respect the order of the grades, and still work on images from a different camera?

Research behind it

Base paper. The study starts from A hybrid neural network approach for classifying diabetic retinopathy subtypes, published in Frontiers in Medicine (2024). It joins an EfficientNet branch for local lesions with a Swin Transformer branch for global context, fuses both, and tests on the APTOS dataset against ResNet101, VGG19, InceptionV3, EfficientNet-B3 and Swin Transformer V2.

Research gap. Two full backbones are heavy for a CPU-only clinic computer. The five grades have a natural order, yet a plain classifier treats a Mild-to-Moderate mistake the same as a Mild-to-Proliferative one. Testing on one dataset says little about other cameras, and class activation maps are shown as pictures without a measured check.

Proposed system and novelty. A single EfficientNet-B0 gets a CBAM block that weighs channels and image regions, so small micro-aneurysms are not drowned out by the bright optic disc. An ordinal head predicts "grade above 0, above 1, above 2, above 3", which teaches the model the order of severity. The model is also tested on IDRiD fundus images without retraining, and its Grad-CAM heatmaps are scored against IDRiD lesion masks with a pointing-game check.

Models compared. ResNet50, plain EfficientNet-B0, Swin-Tiny and the base paper hybrid re-implemented on the same split, against the proposed model. Metrics are accuracy, macro F1, quadratic weighted kappa, parameters and CPU time. The ablation study removes CBAM, swaps the ordinal loss for cross-entropy and skips blur subtraction.

For a related imaging topic, see the chest X-ray pneumonia and TB detection project, which studies a hybrid CNN-ViT.

How it works

  • The doctor creates a patient record and uploads the left and right eye images.
  • A quality check rejects images that are too blurred or too dark.
  • The image is cropped to the retina, enhanced by blur subtraction and resized.
  • The CBAM model returns the grade with an ordinal confidence bar.
  • Grad-CAM builds a heatmap laid over the original photo.
  • The doctor adds notes and referral advice and downloads a PDF report.
  • The admin compares all trained models, including the base hybrid, on one page.

Users and modules

There are three roles. The doctor screens patients, reviews heatmaps, writes notes and prints reports. The patient logs in to see past reports and follow-up reminders. The admin manages users and records, checks the dashboard and the model comparison page, and sets the referral grade. Training runs on Google Colab, while the trained model grades images on a normal laptop CPU.

What you get

  • Phase 1 Research: Base paper study: EfficientNet and Swin Transformer hybrid (Frontiers in Medicine, 2024); Literature survey of 15-20 recent DR grading papers; Research gap, novelty and objectives; APTOS 2019 and IDRiD EDA notebook; Synopsis and Phase-1 report.
  • Phase 2 Implementation: Flask web app with doctor, patient and admin panels; Preprocessing pipeline (crop, blur subtraction, resize); Baselines and base hybrid re-implementation; Proposed EfficientNet-B0 + CBAM + ordinal head; Grad-CAM module with pointing-game check; MySQL database and trained models.
  • Results: Accuracy, macro F1 and quadratic kappa; External test on IDRiD; Ablation study graphs and CPU time table; results.xlsx and all graphs in high resolution.
  • Thesis and paper: Thesis written for you (about 90 pages); IEEE conference paper draft; Journal paper draft; Publication guide.
  • Reviews, viva and support: PPTs for Review 1, Review 2 and final viva; Viva book with 50+ questions; A1 poster and project diary; Demo and code walkthrough videos; 1-on-1 setup, 2 revisions and support till viva.

Who can use this project

M.Tech and M.E. students of CSE and IT who need a medical imaging dissertation with a clear base paper will find this a good fit. It also suits searches for diabetic retinopathy detection using deep learning, an EfficientNet CBAM attention project or an ordinal regression medical imaging project. The Keras code is short and commented, so each layer can be explained in the viva.

Frequently asked questions

Which base paper and fundus datasets does this grading work use?

The base paper is the EfficientNet and Swin Transformer hybrid published in Frontiers in Medicine (2024). Training uses the public APTOS 2019 dataset, and IDRiD is used only as an unseen test set.

Why use an ordinal loss instead of normal classification?

Grades follow an order, so predicting Severe for a Mild eye is a worse error than predicting Moderate. The ordinal head and quadratic kappa reward predictions that stay close to the true stage.

Do I need a GPU to run the grading app?

No. The trained model runs on a CPU laptop. Full training of all five models is done on Google Colab with the notebooks included.

Will my thesis match another student's thesis?

No. Every buyer gets a separate title variant, a different model change and a thesis written fresh. Before delivery the text is compared with every earlier copy of this project and must stay under 10% match.

How is the Grad-CAM heatmap checked for quality?

IDRiD provides expert masks of lesions. A pointing-game score counts how often the hottest heatmap spot falls inside a marked lesion, which gives the results chapter a measured answer instead of a picture alone.

Who can take it

M.Tech CSE and M.Tech IT students who need a complete dissertation: research, working project, thesis and paper.

Your thesis stays unique

  • Different title variant for every student
  • Thesis and paper written fresh for you
  • Checked against all earlier copies
  • Same college, same year never repeated

Research behind it

BASE PAPER

A hybrid neural network approach for classifying diabetic retinopathy subtypes

Frontiers in Medicine, vol. 10, Art. no. 1293019, 2024

DOI link

EXISTING SYSTEM

Recent grading models run two heavy backbones, such as EfficientNet with a Swin Transformer, which is slow on clinic computers. They treat the five grades as unrelated classes, test on one dataset and show heatmaps without checking them against expert lesion marks.

PROPOSED SYSTEM

A single EfficientNet-B0 with a CBAM attention block and an ordinal regression head grades each image from No DR to Proliferative DR. It is compared with the re-implemented base hybrid and three other models, tested on IDRiD without retraining, and its Grad-CAM heatmaps are scored against IDRiD lesion masks.

What you get

24 items, in the order you need them during M.Tech. Code, model and results unlock in My projects right after payment; your thesis and paper follow in 3–5 days.

Phase 1 Research

  • Base paper study: EfficientNet and Swin Transformer hybrid (Frontiers in Medicine, 2024)
  • Literature survey of 15-20 recent DR grading papers
  • Research gap, novelty and objectives
  • APTOS 2019 and IDRiD EDA notebook
  • Synopsis and Phase-1 report

Phase 2 Implementation

  • Flask web app with doctor, patient and admin panels
  • Preprocessing pipeline (crop, blur subtraction, resize)
  • Baselines and base hybrid re-implementation
  • Proposed EfficientNet-B0 + CBAM + ordinal head
  • Grad-CAM module with pointing-game check
  • MySQL database and trained models

Results

  • Accuracy, macro F1 and quadratic kappa
  • External test on IDRiD
  • Ablation study graphs and CPU time table
  • results.xlsx and all graphs in high resolution

Thesis and paper

  • Thesis written for you (about 90 pages)
  • IEEE conference paper draft
  • Journal paper draft
  • Publication guide

Reviews, viva and support

  • PPTs for Review 1, Review 2 and final viva
  • Viva book with 50+ questions
  • A1 poster and project diary
  • Demo and code walkthrough videos
  • 1-on-1 setup, 2 revisions and support till viva

Included free with this project

1-on-1 setup session on AnyDesk or Google Meet

After you buy, we schedule a session at a time that suits you. Our developer installs the complete project on your own laptop, runs it with you and explains it — so you can present it with confidence.

  1. 1

    Pick a time

    We call or WhatsApp you to fix the slot

  2. 2

    We install it

    Full setup on your system over AnyDesk

  3. 3

    We explain it

    Flow, modules and database on Google Meet

Modules inside

16 working modules — each one is explained in the report.

  • Doctor: secure login with role-based access
  • Doctor: register patients and upload left and right eye fundus images
  • Doctor: five-stage grade with an ordinal confidence bar for every image
  • Doctor: Grad-CAM heatmap overlay with an opacity slider
  • Doctor: add clinical notes and referral advice to each screening
  • Doctor: download a PDF screening report for the patient
  • Doctor: patient history with grade trend across visits
  • Patient: login to view own reports and heatmaps
  • Patient: follow-up reminder notifications
  • Image quality check (blur and brightness) before grading
  • Analytics page: grade distribution and referrals per month
  • Admin: dashboard with screening counts and chart
  • Admin: manage doctors, patients and screening records
  • Admin: model comparison page (ResNet50, EfficientNet-B0, Swin-Tiny, base hybrid, proposed)
  • Admin: settings for referral grade and report footer
  • Profile, change password and notifications for every role

Want an extra module or a change?

We can add the features your guide asked for. Tell us what to change and get a quote on WhatsApp.

Customise this project

Technology used

Built with
Python 3.11, Flask (blueprints), Jinja2TensorFlow / Keras for EfficientNet-B0, ResNet50 and Swin-TinyCBAM attention block and ordinal regression (CORAL-style) headGrad-CAM heatmaps with a pointing-game check on lesion masksOpenCV and Pillow for retina crop and blur subtractionscikit-learn for metrics, kappa and class weightsMySQL (XAMPP) with PyMySQLBootstrap 5 and Chart.js (local copies)Jupyter Notebook and Google Colab for training
Documents
Project abstract (2 pages, Word and PDF), Synopsis (Word and PDF), Phase-1 report (Word and PDF), Thesis / dissertation written for you (Word and PDF, about 90 pages), IEEE conference paper draft (Word), Journal paper draft (Word), Publication guide, Review 1, Review 2 and final viva PPTs, Viva book with 50+ questions and answers, A1 poster (PDF and PPTX), Project diary / logbook and guide meeting record, Setup guide with first-run checklist (Word and PDF), Project explanation with code walkthrough, Demo video and code walkthrough video

How buying works

  1. 1

    Read the free abstract

    Show it to your guide first

  2. 2

    Pay securely

    UPI, card or net banking

  3. 3

    Download instantly

    Code, model, results, videos

  4. 4

    Share your details

    College, university, guide

  5. 5

    Thesis and paper

    Written for you in 3–5 days

  6. 6

    1-on-1 setup

    Installed and explained

How to run it

An overview — the full guide comes with the project, and we help you if anything doesn’t start.

  1. 1Install Python 3.11 (tick "Add to PATH") and XAMPP; start MySQL in XAMPP.
  2. 2Extract the project ZIP to a short path such as D:\MTech\.
  3. 3Open phpMyAdmin, create the database mtech_retinopathy and import Database\mtech_retinopathy.sql.
  4. 4Check config.py (default XAMPP user root with an empty password).
  5. 5Double-click Web_App\diabetic_retinopathy_detection\run.bat: it creates the virtual environment and installs the requirements the first time.
  6. 6The browser opens at http://127.0.0.1:5000; log in with the demo accounts from README.txt.
  7. 7Trained models are already in the models folder, so no training is needed for the demo.
  8. 8Full steps with screenshots and the first-run checklist are in SETUP_GUIDE.pdf.

Questions about Diabetic Retinopathy Detection M.Tech…

Will my thesis match another student’s thesis?

No. Every student gets a different title variant and a freshly written thesis, checked against every earlier copy before delivery. The same project is never given to two students of the same college with the same passing year.

What do I get right after paying for Diabetic Retinopathy Detection M.Tech…?

The source code, trained model, notebooks, results graphs and Excel, demo and code-walkthrough videos and the viva book unlock in My projects right away. Your synopsis, Phase-1 report, thesis, IEEE and journal paper drafts, review PPTs, poster and diary are written with your details and delivered in 3–5 days after you fill the details form.

Do I need a GPU or to train the model?

No. The trained model comes with the project. We install and run it on your own laptop in the free 1-on-1 setup session.

My university needs its own thesis format.

Upload your university format in the details form after you pay. Your thesis is written in that format.

Can I see something before buying?

Yes. Sign in and download the free abstract from this page, and check it with your guide first. All sales are final.

Can you publish the paper for me?

You get IEEE conference and journal format drafts and a publication guide with a journal list. Submitting and publishing is done by you and your guide; we do not promise acceptance.

Similar projects

All AI & ML projects →
AI & MLJava33% OFF

Smart Doctor Appointment and E-Prescription System

ClinicQ is a doctor appointment Android project with source code for final year students: patients book a slot, watch a live queue token with an AI wait-time estimate, and receive a PDF e-prescription from the doctor. It includes an AI symptom checker, allergy-safe prescribing, medicine reminders, a clinic admin panel, MySQL database, 56-page report and setup help.

Free abstract· Download₹0
Project price₹8,000₹12,000View Project
AI & MLJava33% OFF

Dynamic QR Code based Anti-Proxy Attendance System

AttendSure is a dynamic QR code anti-proxy attendance final year Android project with source code. The teacher's QR changes every 10 seconds and every scan is checked with GPS, fake-GPS detection, college Wi-Fi, one linked phone per student and a proxy risk score, so shared QR photos never work. Includes a PHP admin panel, MySQL database, 47-page report, abstract and setup help.

Free abstract· Download₹0
Project price₹8,000₹12,000View Project
AI & MLJava33% OFF

Human Activity Recognition and Fall Detection for Elderly

Human Activity Recognition and Fall Detection for Elderly is a final year Android project with source code that turns the elder's own phone into an activity and fall monitor. An on-device TFLite model recognises walking, stairs, standing, sitting, lying and falls, and the family gets an instant alert with location. Includes admin panel, database, 50+ page report, abstract and setup guide.

Free abstract· Download₹0
Project price₹8,000₹12,000View Project
None of these fit your topic?Send your idea — we build it and share the quote first.Request custom project

Get Diabetic Retinopathy Detection M.Tech… for your submission

Leave your details and a counsellor will call to confirm your branch, any changes your guide needs, and how you want to pay.