Git Product home page Git Product logo

Comments (2)

xjtAlgo avatar xjtAlgo commented on August 11, 2024

(rgo-py37) fy@neu:~/DCNv2-pytorch_1.7/test$ python test.py
error in modulated_deformable_im2col_cuda: no kernel image is available for execution on the device
Traceback (most recent call last):
File "test.py", line 284, in
example_dconv()
File "test.py", line 202, in example_dconv
error.backward()
File "/home/fy/anaconda3/envs/rgo-py37/lib/python3.7/site-packages/torch/tensor.py", line 221, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/home/fy/anaconda3/envs/rgo-py37/lib/python3.7/site-packages/torch/autograd/init.py", line 132, in backward
allow_unreachable=True) # allow_unreachable flag
File "/home/fy/anaconda3/envs/rgo-py37/lib/python3.7/site-packages/torch/autograd/function.py", line 89, in apply
return self._forward_cls.backward(self, *args) # type: ignore
File "/home/fy/anaconda3/envs/rgo-py37/lib/python3.7/site-packages/torch/autograd/function.py", line 210, in wrapper
outputs = fn(ctx, *args)
File "/home/fy/DCNv2-pytorch_1.7/dcn_v2.py", line 61, in backward
ctx.deformable_groups,
RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling cublasCreate(handle)

When I run the pytorch 1.7 version of the test.py, it also raise an error.

from dcnv2.

xjtAlgo avatar xjtAlgo commented on August 11, 2024

The two environments I installed above can train the model, but neither of them can use DCN.

from dcnv2.

Related Issues (20)

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.