Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'MkldnnConvolutionBackward' #25

Open
maliho0803 opened this issue Apr 10, 2019 · 9 comments
Open

KeyError: 'MkldnnConvolutionBackward' #25

maliho0803 opened this issue Apr 10, 2019 · 9 comments

Comments

@maliho0803
Copy link

hi, I just run your code, appeared this problem. what is wrong with the code?

@dzyjjpy
Copy link

dzyjjpy commented Apr 11, 2019

what's your version for pytorch?

@maliho0803
Copy link
Author

maliho0803 commented Apr 11, 2019 via email

@dzyjjpy
Copy link

dzyjjpy commented Apr 12, 2019

met similar issue when using 1.0.0. pls use torch 0.2.0 to have a try

@791188299
Copy link

@maliho0803 Has the problem been solved? Can you share your method? Thank you very much.

@you-old
Copy link

you-old commented Jul 31, 2019

??

@jianfeifeng
Copy link

I also met this problem when i try to convert inception_v3 from pytorch to caffe.Has anyone solved this problem already? would you like to share the solution with us ? Thank you !

@joehishi
Copy link

sudo pip2 install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp27-cp27mu-manylinux1_x86_64.whl
sudo pip2 install torchvision==0.1.8

@twirlined
Copy link

twirlined commented Nov 25, 2019

Met the same problem while trying to convert pytorch to caffe with pytorch 1.1.0 and torchvision 0.3.0. Does changing pytorch and torchvision version solve this problem? Thank you.

@arya-none
Copy link

when use 0.2.0, there's a new error:
output_var = model(input_var)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/torch/nn/modules/module.py", line 224, in call
result = self.forward(*input, **kwargs)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/torchvision/models/resnet.py", line 139, in forward
x = self.conv1(x)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/torch/nn/modules/module.py", line 224, in call
result = self.forward(*input, **kwargs)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 254, in forward
self.padding, self.dilation, self.groups)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/torch/nn/functional.py", line 52, in conv2d
return f(input, weight, bias)
TypeError: argument 0 is not a Variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants