Coder Social home page Coder Social logo

dcn-v2-pytorch's Introduction

Deformable Convolution v2 PyTorch Layer for old networks like CenterNet v1

Old repositories (1 year-old+) like CenterNet are using PyTorch < 1.0.0, so DCN extension could not be built because of API change.

This repo contains useful replacement of DCN extension with torchvision function.

So you can install this module and replace such code:

from .DCNv2.dcn_v2 import DCN

to:

from dcn_v2_pytorch import DCNv2 as DCN

and models will work without diving in problems of extension compilation.

Installation

pip install git+https://github.com/lobanov-m/dcn-v2-pytorch.git

Repository requires pytorch >= 1.8.1 and torchvision >= 0.9.0 (in this version torchvision started to support modulated deformable convolutions).

dcn-v2-pytorch's People

Contributors

lobanov-m avatar

Stargazers

Hammad Ali Khan avatar Mon avatar RxxS avatar legendchilli avatar Hai Jiang avatar

Watchers

 avatar

Forkers

suyanzhou626

dcn-v2-pytorch's Issues

Training time

I would like to ask, why does the use of DCV_V2 instead of the Conv layer in the network reduce the training speed several times?

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.