Coder Social home page Coder Social logo

ztt0821 / dense-reppoints Goto Github PK

View Code? Open in Web Editor NEW

This project forked from justimyhxu/dense-reppoints

0.0 0.0 0.0 10.98 MB

Dense reppoints: Representing visual objects with dense point sets https://arxiv.org/abs/1912.11473

License: Apache License 2.0

Python 86.59% Dockerfile 0.03% C++ 5.35% Cuda 7.96% Shell 0.07%

dense-reppoints's Introduction

Dense Reppoints: Representing Visual Objects with Dense Point Sets

The major contributors include Yinghao Xu*, Ze Yang*, Han Xue*, Zheng Zhang ,Han Hu. (* indicates equal contribution)

This repo is an official implementation of "Dense RepPoints: Representing Visual Objects with Dense Point Sets" on COCO object detection/instance segmentation. The code is based on mmdetection.

Introduction

Dense RepPoints utilizes a dense point set to describe the multi-grained object representation of both box level and pixel level. The following figure illustrates the representation of object segments in different forms using Dense RepPoints. The key techniques to learn such representation are a distance transform sampling (DTS) method combined with a set-to-set supervision method. In inference, both the concave hull and triangulation methods are supported. The method is also efficient, achieving near constant complexity with increasing point number. Please touch arXiv for more details.

Learning Dense RepPoints in Object Detection and Instance Segmentation.

Updates

  • Our paper will appear at ECCV2020(06/07/2020)

Usage

a. Clone the repo, install and download the COCO detection dataset.

git clone --recursive https://github.com/justimyhxu/Dense-RepPoints.git

Please refer to INSTALL.md for installation and dataset preparation in detail.

b. Train with a specific configuration file:

./tools/dist_train.sh ${path-to-cfg-file} ${num_gpu} --validate

Here is one example:

./tools/dist_train.sh configs/dense_reppoints/dense_reppoints_729pts_r50_fpn_1x.py 8 --validate

c. Test script:

./tools/dist_test.sh  ${path-to-cfg-file}  ${model_path} ${num_gpu} --out ${out_file}

Please see GETTING_STARTED.md for the basic usage in detail.

Citing Dense RepPoints

@article{yang2019dense,
  title={Dense reppoints: Representing visual objects with dense point sets},
  author={Yang, Ze and Xu, Yinghao and Xue, Han and Zhang, Zheng and Urtasun, Raquel and Wang, Liwei and Lin, Stephen and Hu, Han},
  journal={arXiv preprint arXiv:1912.11473},
  year={2019}
}

Results and models

The results on COCO 2017val are shown in the table below. More code and models will be added soon.

Method Backbone Anchor convert func Refine Assigner Lr schd box AP mask AP Download
Dense RepPoints R-50-FPN none MinMax MaxIou 1x 39.4 33.8 model
Dense RepPoints R-50-FPN none MinMax ATSS 1x 39.9 33.9 model
Dense RepPoints R-50-FPN none MinMax ATSS 3x (ms-train) 43.4 37.1 model

Notes:

  • R-xx, X-xx denote the ResNet and ResNeXt architectures, respectively.
  • DCN denotes replacing 3x3 conv with the 3x3 deformable convolution in c3-c5 stages of backbone.
  • none in the Anchor column means 2-d center point (x,y) is used to represent the initial object hypothesis.
  • MinMax in the convert func column is the function to convert a point set to a pseudo box.
  • ms-train denotes multi-scale training.
  • ATSS denotes an assigner in Arxiv.

dense-reppoints's People

Contributors

hellock avatar yhcao6 avatar oceanpang avatar thangvubk avatar myownskyw7 avatar xvjiarui avatar erotemic avatar zwwwayne avatar justimyhxu avatar wswday avatar melikovk avatar korabelnikov avatar lindahua avatar ancientmooner avatar xiaoxiaoxh avatar innerlee avatar michaelisc avatar borda avatar mxbonn avatar ternaus avatar sovrasov avatar zhihuagao avatar donnyyou avatar stevehjc avatar gfjiangly avatar liushuchun avatar fanqie03 avatar rydenisbak avatar tyomj avatar youkaichao avatar

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.