All models

Inf-Net

A CNN that segments COVID-19 infected regions in chest CT slices with a partial decoder and reverse attention.

Medical imaging · 618 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (344 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
33.1M
Operations
618
Framework
PyTorch
Recurrent
No
Published
IEEE Transactions on Medical Imaging 2020
Cited by
13 (as of 28 October 2026)
Authors
Deng-Ping Fan, Tao Zhou, Ge-Peng Ji and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17562
Graph hash
357ae830b65f86dddf308ec8601853df7312e31f4492607b639f96ccc5ce7c94
Skeleton hash
d66652228fbf69964aa3174332fde21b611d5bb7ee964303fa0db5e62b252c8a
Architecture hash
5b64a563bb0b61b667335d44e242a8310e56006147b406de14d591fbd9cd4230
Diagram SHA-256
af8405db6cb90ebad11b4e4b4d0690f5ed0bdf484f221690600a743597e85d65
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Inf-Net is a segmentation network that automatically identifies COVID-19 infected regions in chest CT slices. The paper lists what makes the task hard: infection characteristics vary widely, the intensity contrast between infections and normal tissues is low, and a large amount of data could not be collected in a short time.

In the network, a parallel partial decoder aggregates the high-level features and generates a global map. Implicit reverse attention and explicit edge-attention are then used to model the boundaries and enhance the representations. The README describes the architecture as three reverse attention (RA) modules connected to the paralleled partial decoder (PPD). The training code offers ResNet, Res2Net, and VGGNet backbones.

To cope with the shortage of labeled data, the authors add a semi-supervised framework, Semi-Inf-Net, built on a randomly selected propagation strategy that needs only a few labeled images and relies mainly on unlabeled data. Its lung infection training set consists of 50 labels by doctors and 1600 pseudo labels generated by the Semi-Inf-Net model. The paper reports that, on its COVID-SemiSeg dataset and on real CT volumes, Inf-Net outperforms most of the segmentation models it was compared with.

Key idea. Inf-Net aggregates high-level features with a parallel partial decoder into a global map, then uses reverse attention and edge-attention to model infection boundaries in CT slices.

  • Inf-Net
  • Semi-Inf-Net
  • COVID-19 lung infection segmentation
  • CT segmentation
  • chest CT
  • lung infection
  • COVID-SemiSeg
  • reverse attention
  • medical image segmentation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{fan2020infnetautomaticcovid19lung,
      title={Inf-Net: Automatic COVID-19 Lung Infection Segmentation from CT Images}, 
      author={Deng-Ping Fan and Tao Zhou and Ge-Peng Ji and Yi Zhou and Geng Chen and Huazhu Fu and Jianbing Shen and Ling Shao},
      year={2020},
      eprint={2004.14133},
      archivePrefix={arXiv},
      primaryClass={eess.IV},
      url={https://arxiv.org/abs/2004.14133}, 
}