MCPcopy Index your code
hub / github.com/baaivision/Painter

github.com/baaivision/Painter @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
375 symbols 1,833 edges 96 files 133 documented · 35%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Painter → SegGPT: Vision Foundation Models from BAAI

https://user-images.githubusercontent.com/22233070/230440971-ad015101-205f-4b02-a176-de6e94848b5a.mp4


  • Painter (CVPR 2023) - Images Speak in Images: A Generalist Painter for In-Context Visual Learning

  • SegGPT (ICCV 2023) - SegGPT: Segmenting Everything In Context

News

  • 2023.4 Inference code and model of SegGPT are available at here.
  • 2023.4 We combined SAM and SegGPT to enable one touch for segmentation in all images (一触百通), as well as any segmentation in a video (分割视频中的一切). Check it out here.
  • 2023.4 Enjoy the SegGPT demo.
  • 2023.3 Code and model of Painter are available.

Contact

  • We are hiring at all levels at BAAI Vision Team, including full-time researchers, engineers and interns. If you are interested in working with us on foundation model, visual perception and multimodal learning, please contact Xinlong Wang (wangxinlong@baai.ac.cn).

License

The content of this project itself is licensed under LICENSE.

Core symbols most depended-on inside this repo

print
called by 196
Painter/util/misc.py
append
called by 119
SegGPT/SegGPT_inference/seggpt_engine.py
load_state_dict
called by 18
Painter/util/misc.py
unpatchify
called by 15
Painter/models_painter.py
update
called by 14
Painter/util/misc.py
max
called by 12
Painter/util/misc.py
evaluate
called by 9
Painter/eval/mmpose_custom/data/topdown_coco_dataset.py
build_dataset
called by 9
Painter/util/datasets.py

Shape

Function 174
Method 152
Class 47
Route 2

Languages

Python100%

Modules by API surface

Painter/util/misc.py38 symbols
Painter/data/pair_transforms.py28 symbols
SegGPT/SegGPT_inference/models_seggpt.py21 symbols
Painter/models_painter.py21 symbols
Painter/util/ddp_utils.py12 symbols
SegGPT/SegGPT_inference/util/vitdet_utils.py11 symbols
Painter/util/vitdet_utils.py11 symbols
Painter/eval/coco_panoptic/COCOCAInstSegEvaluatorCustom.py9 symbols
Painter/data/pairdataset.py9 symbols
Painter/eval/coco_panoptic/COCOPanoEvaluatorCustom.py7 symbols
Painter/data/sampler.py7 symbols
Painter/data/mmdet_custom/data/pipelines/transforms.py7 symbols

For agents

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

⬇ download graph artifact