Comments (10)
Possible cause: channel dimension too large.
You can try to change the src/deform_conv_cuda_kernel.cu at line No.68 to
const int CUDA_NUM_THREADS = 1024;
const int kMaxGridNum = 65535;
inline int GET_BLOCKS(const int N) {
return std::min(kMaxGridNum, (N + CUDA_NUM_THREADS - 1) / CUDA_NUM_THREADS);
}
and see if this can solve the problem.
from deformable-convolution-v2-pytorch.
I met a similar error. When the input image is larger than 1024x1024 (1, 512, 128, 128 for that layer), the same invalid argument
error occurs. I think the reason for this error is that the pre-allocated memory space is not enough. But I not familiar with the Cuda program in pytorch, so I can't find a solution yet.
from deformable-convolution-v2-pytorch.
Same problem. Pytorch 0.4.0, python 3.5, cuda 8.0.
from deformable-convolution-v2-pytorch.
Hi, could you provide a short code snippet to reproduce the bug? Thanks a lot!
from deformable-convolution-v2-pytorch.
FYI, my environment is PyTorch 0.4.1, python 3.6/3.7, cuda 9.0.
from deformable-convolution-v2-pytorch.
Similar error,how to solve it? Pytorch 0.4.1, python 3.7, cuda 9.0
from deformable-convolution-v2-pytorch.
@chengdazhi It solved my problem. Thanks.
from deformable-convolution-v2-pytorch.
@jwwangchn Thanks for your feedback. I have updated the .cu file in the commit 50a282 .
from deformable-convolution-v2-pytorch.
Hi,
I have set up the deform conv on a machine with a single 1060 and it works but when I tried using the same on a machine with (multi-gpu) GTX TITAN X it gives me an error:
error in modulated_deformable_im2col_cuda: invalid device function
This is already present in the file deform_conv_cuda_kernel.cu
#13 (comment)
What do you think might be the problem?
from deformable-convolution-v2-pytorch.
Hi,
I have set up the deform conv on a machine with a single 1060 and it works but when I tried using the same on a machine with (multi-gpu) GTX TITAN X it gives me an error:
error in modulated_deformable_im2col_cuda: invalid device function
This is already present in the file deform_conv_cuda_kernel.cu
#13 (comment)What do you think might be the problem?
@chengdazhi @abhijay-g Did you figure it out? I also met this issue.
from deformable-convolution-v2-pytorch.
Related Issues (20)
- [pytorch 1.0.0 branch] : no result in output tensor
- 怎么得到 Deformable-Convolution的FLOPs呢? HOT 2
- Is this version compatible with pytorch1.8 HOT 6
- using g++ not c++ to compile
- Questions about deformable roi pooling
- TypeError: dist must be a Distribution instance HOT 3
- Please help me! Questions about gcc or g++ in setup.py
- Any chances to release Deformable-Convolution-V2-PyTorch for Rocm
- The exact mapping between the channel index of the mask and the coordinate of the modulated kernel
- Question about DCNv1 v2 on resnet HOT 1
- problem of make.sh
- QUestion: Running without Cuda HOT 1
- Is it useful to use dcn on 1x1conv? HOT 3
- When running make.sh, it prompts that NVCC cannot be found HOT 1
- when running make.sh ,it takes this problom. HOT 1
- When I run test.py, cuDNN error: CUDNN_STATUS_EXECUTION_FAILED HOT 1
- When running test.py, RuntimeError: Backward is not reentrant
- How to install DCN on google colab
- How to change kernel size od DCN
- Hello, do you have the frame diagram of DCNV2?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deformable-convolution-v2-pytorch.