Giter Site home page Giter Site logo

megvii-basedetection / autoassign Goto Github PK

View Code? Open in Web Editor NEW
139.0 8.0 18.0 350 KB

Pytorch implementation of "AutoAssign: Differentiable Label Assignment for Dense Object Detection"

License: Apache License 2.0

Python 100.00%
object-detection coco-dataset computer-vision

autoassign's Introduction

AutoAssign: Differentiable Label Assignment for Dense Object Detection

pipeline

This is a PyTorch implementation of the AutoAssign paper:

@article{zhu2020autoassign,
  title={AutoAssign: Differentiable Label Assignment for Dense Object Detection},
  author={Zhu, Benjin and Wang, Jianfeng and Jiang, Zhengkai and Zong, Fuhang and Liu, Songtao and Li, Zeming and Sun, Jian},
  journal={arXiv preprint arXiv:2007.03496},
  year={2020}
}

Get Started

  1. install cvpods following the instructions
# Install cvpods
git clone https://github.com/Megvii-BaseDetection/cvpods
cd cvpods 
## build cvpods (requires GPU)
pip install -r requirements.txt
python setup.py build develop
## preprare data path
mkdir datasets
ln -s /path/to/your/coco/dataset datasets/coco
  1. run the project
cd auto_assign.res50.fpn.coco.800size.1x

# train
pods_train --num-gpus 8

# test
pods_test --num-gpus 8
# test with provided weights
pods_test --num-gpus 8 MODEL.WEIGHTS /path/to/your/model.pth

Results

Model Multi-scale training Multi-scale testing Testing time / im AP (minival) Link
AutoAssign_Res50_FPN_1x No No 53ms 40.5 download

autoassign's People

Contributors

poodarchu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autoassign's Issues

Warning and different result

I downloaded the pretrained model provided. During inference I'm getting the following warning. It results worse AP ~29. Also, could you upload the other models with different backbones that you share on the paper?

WARNING [02/12 13:37:59 c2.checkpoint.checkpoint]: 'backbone.top_block.p6.weight' has shape (256, 2048, 3, 3) in the checkpoint but (256, 256, 3, 3) in the model! Skipped.
[02/12 13:37:59 c2.checkpoint.checkpoint]: Some model parameters are not in the checkpoint:
backbone.top_block.p6.weight

Training is slow.

I used AutoAssign to train my data set, but the speed of training was too slow.Is that normal?

Performance on VOC

Hi, 我最近在研究label assign,实验发现使用默认设置下的AutoAssign在VOC上的表现会低于GFL 3个点以上的AP。请问你们有在VOC上尝试过吗?我使用的是mmdet官方repo中的AutoAssign,最大epoch为4,学习率下降在第3 epoch之后,这是mmdet VOC的标准设置。GFL可取得51.8的AP,但AutoAssign只能取得48.4。请问有什么超参会对性能影响较大?

how can I debug code ?

Hi, thanks for your nice work.

I'm extremely interesting in the ImpObj branch in your paper, but you code is based on cvpods base,
so how could I debug code ?

Thanks !

loss norm

Thank you for your excellent work. I have a question, what does "loss_norm" mean, this seems not mentioned in the original paper

Training on VOC

Hello, thanks for your great work!

Can you provide a config.py file for the training on PASCAL VOC dataset.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.