← 开源
facebookresearch

Detic

Code release for "Detecting Twenty-thousand Classes using Image-level Supervision".

ApplicationsObject detectionPython
在 GitHub 打开
增长势头
+-124 小时新增 Star-0.0%
2.01k
Star
229
Fork
+-2
本周
7
贡献者
创建于 2021-12-11 · 更新于 2026-10-16 · 今日第 18760 名
主要开发者
xingyizhouimisrajoakimeriksson

facebookresearch/Detic 排名第 18,760,有 2,011 个星标。

同类别比较

facebookresearch/Detic 排名第 18,760,此处有 8 个同类条目;akl7777777/ShellGPT 排名第 18,759。

同类别比较
名称排名指标
githubharald/SimpleHTR18,737
语言:
Python
星标数:
2,190
分叉数:
913
简介:
Handwritten Text Recognition (HTR) system implemented with TensorFlow.
enarjord/passivbot18,744
语言:
Python
星标数:
2,129
分叉数:
680
简介:
Trading bot running on Bybit, Bitget, OKX, GateIO, Binance, Kucoin, WEEX and Hyperliquid
4thfever/cultivation-world-simulator18,747
语言:
Python
星标数:
2,111
分叉数:
238
简介:
基于 AI Agent 工作流的修仙世界模拟器,旨在还原智能、开放的仙侠世界。| An open-source Cultivation World Simulator using Agentic Workflow to create a dynamic, emerging Xianxia world.
akl7777777/ShellGPT18,759
语言:
JavaScript
星标数:
2,021
分叉数:
234
简介:
**ShellGPT is a free chatgpt client, now Supported online search.no need for a key, no need to log in.Multi-node automatic speed measurement switch,Long text translation with no word limit, AI graphics.免费的chatgpt客户端,已支持联网搜索,无需密钥,无需登录,多节点自动测速切换,长文翻译不限字数,AI出图**
android/androidify18,763
语言:
Kotlin
星标数:
1,989
分叉数:
319
简介:
Sample app for Androidify
run-llama/notebookllama18,766
语言:
Python
星标数:
1,977
分叉数:
243
简介:
A fully open-source, LlamaCloud-backed alternative to NotebookLM
LingyiChen-AI/AIComicBuilder18,774
语言:
TypeScript
星标数:
1,918
分叉数:
326
hanshuaikang/nezha18,778
语言:
TypeScript
星标数:
1,906
分叉数:
180
简介:
Code Editor for the AI Agents Era. Run multiple Claude Code and Codex agents across projects on your machine.
关键参数与规格
关键参数与规格
参数值
语言Python
类别Applications
子类别Object detection
星标数2,011
分叉数229
贡献者7
创建日期2021-12-11
更新日期2026-10-16
1 天星标数-1
7 天星标数-2
排名18,760
上次排名18,585
排名变化-175
7 天星标排名18,253
上次 7 天星标排名16,971
7 天星标排名变化-1,282
总星标排名6,320
上次总星标排名6,313
总星标排名变化-7
国家USA
README 摘录

Detecting Twenty-thousand Classes using Image-level Supervision **Detic**: A **Det**ector with **i**mage **c**lasses that can use image-level labels to easily train detectors. **Detecting Twenty-thousand Classes using Image-level Supervision**, Xingyi Zhou, Rohit Girdhar, Armand Joulin, Philipp Krähenbühl, Ishan Misra, *ECCV 2022 (arXiv 2201. 02605)* Features Detects **any** class given class names (using CLIP). We train the detector on ImageNet-21K dataset with 21K classes. Cross-dataset generalization to OpenImages and

Objects365 **without finetuning**. State-of-the-art results on Open-vocabulary LVIS and Open-vocabulary COCO. Demo **Update April 2022**: we released more real-time models here. We use the default detectron2 demo interface. For example, to run our 21K model on a messy desk image (image credit David Fouhey) with the lvis vocabulary, run If setup correctly, the output should look like: The same model can run with other vocabularies (COCO, OpenImages, or Objects365), or a **custom vocabulary**. For

example: The output should look like: Note that , and (typo intended) are **not** LVIS classes. Despite the misspelled class name, our detector can produce a reasonable detection for . Benchmark evaluation and training Please first prepare datasets, then check our MODEL ZOO to reproduce results in our paper. We highlight key results below: Open-vocabulary LVIS Standard LVIS Cross-dataset generalization License The majority of Detic is licensed under the Apache 2. 0 license, however portions of the project are available

under separate license terms: SWIN-Transformer, CLIP, and TensorFlow Object Detection API are licensed under the MIT license; UniDet is licensed under the Apache 2. 0 license; and the LVIS API is licensed under a custom license. If you later add other third party code, please keep this license info updated, and please let us know if that component is licensed under something other than CC-BY-NC, MIT, or CC0 Ethical Considerations Detic's wide range of detection capabilities may

introduce similar challenges to many other visual recognition and open-set recognition methods. As the user can define arbitrary detection classes, class design and semantics may impact the model output. Citation If you find this project useful for your research, please use the following BibTeX entry.

常见问题

记录了多少星标和分叉?

facebookresearch/Detic 有 2,011 个星标和 229 个分叉。

仓库排名是多少?

facebookresearch/Detic 排名第 18,760。

记录的语言和类别是什么?

facebookresearch/Detic 有 2,011 个星标,语言为 Python,类别为 Applications。

哪个仓库排名最接近?

facebookresearch/Detic 与 akl7777777/ShellGPT 比较,后者排名第 18,759,有 2,021 个星标。

README

Detecting Twenty-thousand Classes using Image-level Supervision

Detic: A Detector with image classes that can use image-level labels to easily train detectors.

Detecting Twenty-thousand Classes using Image-level Supervision,
Xingyi Zhou, Rohit Girdhar, Armand Joulin, Philipp Krähenbühl, Ishan Misra,
ECCV 2022 (arXiv 2201.02605)

Features

  • Detects any class given class names (using CLIP).

  • We train the detector on ImageNet-21K dataset with 21K classes.

  • Cross-dataset generalization to OpenImages and Objects365 without finetuning.

  • State-of-the-art results on Open-vocabulary LVIS and Open-vocabulary COCO.

  • Works for DETR-style detectors.

Installation

See installation instructions.

Demo

Update April 2022: we released more real-time models here.

Replicate web demo and docker image:

Integrated into Huggingface Spaces 🤗 using Gradio. Try out the web demo:

Run our demo using Colab (no GPU needed):

We use the default detectron2 demo interface. For example, to run our 21K model on a messy desk image (image credit David Fouhey) with the lvis vocabulary, run

mkdir models
wget https://dl.fbaipublicfiles.com/detic/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.pth -O models/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.pth
wget https://eecs.engin.umich.edu/~fouhey/fun/desk/desk.jpg
python demo.py --config-file configs/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.yaml --input desk.jpg --output out.jpg --vocabulary lvis --opts MODEL.WEIGHTS models/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.pth

If setup correctly, the output should look like:

The same model can run with other vocabularies (COCO, OpenImages, or Objects365), or a custom vocabulary. For example:

python demo.py --config-file configs/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.yaml --input desk.jpg --output out2.jpg --vocabulary custom --custom_vocabulary headphone,webcam,paper,coffe --confidence-threshold 0.3 --opts MODEL.WEIGHTS models/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.pth

The output should look like:

Note that headphone, paper and coffe (typo intended) are not LVIS classes. Despite the misspelled class name, our detector can produce a reasonable detection for coffe.

Benchmark evaluation and training

Please first prepare datasets, then check our MODEL ZOO to reproduce results in our paper. We highlight key results below:

  • Open-vocabulary LVIS

    mask mAP mask mAP_novel
    Box-Supervised 30.2 16.4
    Detic 32.4 24.9
  • Standard LVIS

    Detector/ Backbone mask mAP mask mAP_rare
    Box-Supervised CenterNet2-ResNet50 31.5 25.6
    Detic CenterNet2-ResNet50 33.2 29.7
    Box-Supervised CenterNet2-SwinB 40.7 35.9
    Detic CenterNet2-SwinB 41.7 41.7
    Detector/ Backbone box mAP box mAP_rare
    Box-Supervised DeformableDETR-ResNet50 31.7 21.4
    Detic DeformableDETR-ResNet50 32.5 26.2
  • Cross-dataset generalization

    Backbone Objects365 box mAP OpenImages box mAP50
    Box-Supervised SwinB 19.1 46.2
    Detic SwinB 21.4 55.2

License

The majority of Detic is licensed under the Apache 2.0 license, however portions of the project are available under separate license terms: SWIN-Transformer, CLIP, and TensorFlow Object Detection API are licensed under the MIT license; UniDet is licensed under the Apache 2.0 license; and the LVIS API is licensed under a custom license. If you later add other third party code, please keep this license info updated, and please let us know if that component is licensed under something other than CC-BY-NC, MIT, or CC0

Ethical Considerations

Detic's wide range of detection capabilities may introduce similar challenges to many other visual recognition and open-set recognition methods. As the user can define arbitrary detection classes, class design and semantics may impact the model output.

Citation

If you find this project useful for your research, please use the following BibTeX entry.

@inproceedings{zhou2022detecting,
  title={Detecting Twenty-thousand Classes using Image-level Supervision},
  author={Zhou, Xingyi and Girdhar, Rohit and Joulin, Armand and Kr{\"a}henb{\"u}hl, Philipp and Misra, Ishan},
  booktitle={ECCV},
  year={2022}
}
排名相邻
同类项目