Comments (9)
what's your version for pytorch?
from pytorch2caffe.
from pytorch2caffe.
met similar issue when using 1.0.0. pls use torch 0.2.0 to have a try
from pytorch2caffe.
@maliho0803 Has the problem been solved? Can you share your method? Thank you very much.
from pytorch2caffe.
??
from pytorch2caffe.
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.
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.
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.
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)
- 'Dot' object is not iterable HOT 3
- got error: Segmentation fault (core dumped) HOT 1
- pytorch 0.4 support
- ResNet size issue -> not accepting 224
- Does one model with nn.MaxUnpool2d layers in pytorch can be transformed to caffe model?
- CudnnBatchNormBackward
- which version of pytorch and torchvision should be used? advice needed HOT 5
- AttributeError: tuple object has no attribute 'grad_fn' HOT 6
- pytorch2caffe doesn't work for the last two layyers's convertion HOT 5
- ExpandBackward HOT 3
- layer_dict的对应关系
- "dot" not found in path HOT 2
- undefined symbol: _ZN3MPI8Datatype4FreeEv HOT 2
- training error
- 关于pytorch2caffe的步骤
- convert KeyError: 'MkldnnConvolutionBackward' HOT 1
- "TypeError: argument 0 is not a Variable", torch version:0.2.0
- Can it transform LSTM layer? HOT 1
- how do i transform pth file to caffemodel? HOT 1
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 pytorch2caffe.