资源算法RoIAlign-RoIPool-pytorch

RoIAlign-RoIPool-pytorch

2020-02-26 | |  37 |   0 |   0

RoI-op-pytorch

C++ extension of RoIPool & RoIAlign (both CPU and GPU) in PyTorch,this code is converted from caffe2 operation. (need pytorch 0.4.0)

**Warning:**You may change AT_CHECK to AT_ASSERT(0.4 version using AT_ASSERT, and latest version using AT_CHECK

**Note: **

  1. roi_xxx_cpu.cpp&roi_xxx_binding.cpp:contains the cpu version of forward and backward operation.(Note: roi_xxx_binding.cpp is for pybind, you can put this code into roi_xxx_cpu.cpp as well)

  2. roi_xxx_kernel.cu&roi_xxx_cuda.cpp:contains the cuda version of forward and backward operation.

  3. main.py&temp.h&CMakeLists.txt:help you to debug in c++ code, rather than to run python setup.py install to debug. (Note: only support cpu version ~ I don't know how to debug .cu code 

上一篇:deep-head-pose-shufflenetv2

下一篇:Rotated_ROIAlign

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...