Comments (1)
Isolve this problem by adding a filter:
optimizer = torch.optim.SGD( filter(lambda p: p.requires_grad, model.parameters())
but a new problem appeared. Could you give some help?
Create new model
############# Starting Epoch 0 #############
loss: 0.01542340 | acc: 1.54: 0%| | 1/17291 [00:01<9:12:33, 1.92s/it]Traceback (most recent call last):
File "train.py", line 215, in
main()
File "train.py", line 173, in main
loss, acc = train(train_loader, m, criterion, optimizer, writer)
File "train.py", line 31, in train
out = m(inps)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/parallel/data_parallel.py", line 112, in forward
return self.module(*inputs[0], **kwargs[0])
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/media/sure/H/train_sppe/src/models/DCN_FastPose.py", line 41, in forward
out = self.preact(x)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/media/sure/H/train_sppe/src/models/layers/DCN_SE_Resnet.py", line 84, in forward
x = self.layer3(x) # 1024 * h/16 * w/16
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/media/sure/H/train_sppe/src/models/layers/DCN_SE_Resnet.py", line 39, in forward
out = self.conv3(out)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/media/sure/H/train_sppe/src/DCNv2/modules/modulated_dcn.py", line 73, in forward
return func(input, offset, mask, self.weight, self.bias)
File "/media/sure/H/train_sppe/src/DCNv2/functions/modulated_dcn_func.py", line 36, in forward
self.deformable_groups)
File "/usr/local/lib/python3.5/dist-packages/torch/utils/ffi/init.py", line 197, in safe_call
result = torch._C._safe_call(*args, **kwargs)
torch.FatalError: cublas runtime error : an internal operation failed at /pytorch/aten/src/THC/THCBlas.cu:249
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.