# DCNv2 **Repository Path**: aiacLab/DCNv2 ## Basic Information - **Project Name**: DCNv2 - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-22 - **Last Updated**: 2022-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Deformable Convolutional Networks V2 with Pytorch 1.X ### Build ```bash ./make.sh # build python testcpu.py # run examples and gradient check on cpu python testcuda.py # run examples and gradient check on gpu ``` ### Note Now the master branch is for pytorch 1.x, you can switch back to pytorch 0.4 with, ```bash git checkout pytorch_0.4 ``` ### Known Issues: - [x] Gradient check w.r.t offset (solved) - [ ] Backward is not reentrant (minor) This is an adaption of the official [Deformable-ConvNets](https://github.com/msracver/Deformable-ConvNets/tree/master/DCNv2_op). Update: all gradient check passes with **double** precision. Another issue is that it raises `RuntimeError: Backward is not reentrant`. However, the error is very small (`<1e-7` for float `<1e-15` for double), so it may not be a serious problem (?) Please post an issue or PR if you have any comments.