← all repositories
ozan-oktay/Attention-Gated-Networks

Attention gates that teach CNNs where to look

This repo gates U-Net and VGG-16 with additive attention so medical imaging models learn where to look, not just what to see.

2.1k stars Python Computer VisionML Frameworks
Attention-Gated-Networks
Not currently ranked — collecting fresh signals.
star history

What it does This repository provides a PyTorch implementation of attention gates for U-Net and VGG-16. The authors propose the framework for medical image classification and segmentation, with published applications in ultrasound scan plane detection and pancreas localization.

The interesting bit The project applies the same attention-gating idea to two distinct architectures: U-Net and VGG-16. The README roots the work in two MIDL 2018 papers, so the scope is tightly bound to those proven medical use cases rather than a generic drop-in layer.

Key highlights

  • PyTorch implementation of attention gates for U-Net and VGG-16.
  • Framed for medical image classification and segmentation tasks.
  • Rooted in two MIDL 2018 papers: ultrasound scan plane detection and pancreas segmentation.
  • Includes schematics for the Attention-Gated Sononet and the additive attention gate mechanism.

Caveats

  • The README offers only architecture diagrams and paper links; there are no usage examples, dependency details, or code documentation.
  • It is unclear whether the implementation extends beyond the two specific medical tasks and backbones described in the references.

Verdict A useful reference if you need a PyTorch take on attention gating for medical imaging. Less helpful if you want a general-purpose, well-documented attention library.

Frequently asked

What is ozan-oktay/Attention-Gated-Networks?
This repo gates U-Net and VGG-16 with additive attention so medical imaging models learn where to look, not just what to see.
Is Attention-Gated-Networks open source?
Yes — ozan-oktay/Attention-Gated-Networks is open source, released under the MIT license.
What language is Attention-Gated-Networks written in?
ozan-oktay/Attention-Gated-Networks is primarily written in Python.
How popular is Attention-Gated-Networks?
ozan-oktay/Attention-Gated-Networks has 2.1k stars on GitHub.
Where can I find Attention-Gated-Networks?
ozan-oktay/Attention-Gated-Networks is on GitHub at https://github.com/ozan-oktay/Attention-Gated-Networks.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.