Comments (5)
This should work with torch 0.3.1 or 0.2. Some layers may not well supported. Please check the demo first to see if it works.
from pytorch2caffe.
when use torch 0.3.1, vision0.2.0, it can download the inceptionv3 model
it shows network initialization done.
but in File demo.py, line 49, in
net.blobs['data'].data[...] = input_data
keyError: 'data'
from pytorch2caffe.
This line is to fill the data for caffe. So it's not the problem of pytorch.
from pytorch2caffe.
@longcw I reinstall torch 0.3.1, solve the issue above. But another error occured when running demo.py
line 165, in add_layer
layer['type'] = layer_dict[parent_type]
KeyErrors: 'ExpandBackward'
And it might be caused by layers not supported.I find same problem in issue.
https://github.com/longcw/pytorch2caffe/issues/6
However , my CUDA is 9.2, I cannot install pytorch==0.2.0
Is there any other ways to solve this issue without reinllation for pytorch==0.2.0?
from pytorch2caffe.
Finally solved by installing torch 0.2.0 and torchvision 0.1.8.
will try my own model trained based torch 0.3.1
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
- KeyError: 'MkldnnConvolutionBackward' HOT 9
- 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.