MCPcopy
hub / github.com/facebookresearch/detectron2

github.com/facebookresearch/detectron2 @v0.6 sqlite

repository ↗ · DeepWiki ↗ · release v0.6 ↗
3,144 symbols 12,916 edges 437 files 1,311 documented · 42%
README

Detectron2 is Facebook AI Research's next generation library that provides state-of-the-art detection and segmentation algorithms. It is the successor of Detectron and maskrcnn-benchmark. It supports a number of computer vision research projects and production applications in Facebook.

What's New

  • Includes new capabilities such as panoptic segmentation, Densepose, Cascade R-CNN, rotated bounding boxes, PointRend, DeepLab, etc.
  • Used as a library to support building research projects on top of it.
  • Models can be exported to TorchScript format or Caffe2 format for deployment.
  • It trains much faster.

See our blog post to see more demos and learn about detectron2.

Installation

See installation instructions.

Getting Started

See Getting Started with Detectron2, and the Colab Notebook to learn about basic usage.

Learn more at our documentation. And see projects/ for some projects that are built on top of detectron2.

Model Zoo and Baselines

We provide a large set of baseline results and trained models available for download in the Detectron2 Model Zoo.

License

Detectron2 is released under the Apache 2.0 license.

Citing Detectron2

If you use Detectron2 in your research or wish to refer to the baseline results published in the Model Zoo, please use the following BibTeX entry.

@misc{wu2019detectron2,
  author =       {Yuxin Wu and Alexander Kirillov and Francisco Massa and
                  Wan-Yen Lo and Ross Girshick},
  title =        {Detectron2},
  howpublished = {\url{https://github.com/facebookresearch/detectron2}},
  year =         {2019}
}

Core symbols most depended-on inside this repo

to
called by 140
detectron2/structures/boxes.py
get
called by 122
detectron2/data/catalog.py
cat
called by 88
detectron2/structures/boxes.py
get
called by 77
projects/DensePose/densepose/evaluation/tensor_storage.py
cat
called by 55
detectron2/layers/wrappers.py
get_norm
called by 53
detectron2/layers/batch_norm.py
to
called by 52
projects/DensePose/densepose/structures/mesh.py
clone
called by 45
detectron2/structures/boxes.py

Shape

Method 1,874
Function 733
Class 535
Route 2

Languages

Python100%

Modules by API surface

detectron2/export/shared.py63 symbols
detectron2/engine/hooks.py53 symbols
detectron2/data/transforms/augmentation_impl.py48 symbols
detectron2/utils/visualizer.py45 symbols
projects/DensePose/densepose/evaluation/densepose_coco_evaluation.py42 symbols
projects/DensePose/densepose/data/build.py41 symbols
detectron2/modeling/backbone/regnet.py41 symbols
detectron2/structures/masks.py40 symbols
tests/config/test_yacs_config.py39 symbols
detectron2/utils/events.py35 symbols
tests/test_export_torchscript.py30 symbols
projects/DensePose/densepose/vis/densepose_results.py30 symbols

Dependencies from manifests, versioned

docutils0.16 · 1×
hydra-core1.1.0.dev5 · 1×
omegaconf2.1.0.dev24 · 1×
recommonmark0.6.0 · 1×
sphinx3.2.0 · 1×

For agents

$ claude mcp add detectron2 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact