# xvjiarui/GCNet

GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond

Repository: https://github.com/xvjiarui/GCNet
Canonical: https://ross.abutalabs.com/products/gcnet
Language: Python
License: Apache-2.0
License Family: permissive
Topics: object-detection, instance-segmentation, computer-vision, deep-learning
Last push: 2021-02-16T05:05:58+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2687, "days_push": 2024, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1220, forks 165 (observed 2026-08-28T04:04:01.925241+00:00)

## What it is
Official PyTorch implementation of GCNet (Global Context Networks), a paper combining ideas from Non-Local Networks and Squeeze-Excitation Networks for global context modeling. Built on mmdetection, it provides a GC block operator and configs for object detection and instance segmentation on COCO.

## Use cases
- add global context modeling to detection models
- improve object detection accuracy on COCO
- improve instance segmentation performance
- replace non-local blocks with a faster attention module
- reproduce ICCV 2019 GCNet paper results

## When to choose
- you need an efficient global context block for vision backbones
- you use mmdetection and want GCNet configs
- you want a simpler, faster alternative to Non-Local Networks

## When to avoid
- you need actively maintained code (official support moved to mmdetection)
- you work outside PyTorch/mmdetection ecosystems
- you need general-purpose vision tools beyond detection/segmentation

## Facets
- artifact type: library
- maturity: maintenance
- function: deep-learning, machine-learning, image-processing
- domain: computer-vision, deep-learning, machine-learning
- platform: python
- tags: object-detection, instance-segmentation, attention-mechanism, global-context-modeling, mmdetection, pytorch, research-code, coco, gpu

## Member repositories
- xvjiarui/GCNet (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.925241+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:16:11.040630+00:00, confidence not recorded.
  - readme: https://github.com/xvjiarui/GCNet (fetched 2026-08-28T04:04:01.925241+00:00, sha f2b1efc99ea8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
