Giter VIP home page Giter VIP logo

Comments (9)

dzyjjpy avatar dzyjjpy commented on August 16, 2024

what's your version for pytorch?

from pytorch2caffe.

maliho0803 avatar maliho0803 commented on August 16, 2024

from pytorch2caffe.

dzyjjpy avatar dzyjjpy commented on August 16, 2024

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

from pytorch2caffe.

791188299 avatar 791188299 commented on August 16, 2024

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

from pytorch2caffe.

you-old avatar you-old commented on August 16, 2024

??

from pytorch2caffe.

jianfeifeng avatar jianfeifeng commented on August 16, 2024

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 !

from pytorch2caffe.

joehishi avatar joehishi commented on August 16, 2024

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

from pytorch2caffe.

twirlined avatar twirlined commented on August 16, 2024

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.

from pytorch2caffe.

arya-none avatar arya-none commented on August 16, 2024

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

from pytorch2caffe.

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.