piergiaj / caffe-to-theano Goto Github PK
View Code? Open in Web Editor NEWConvert a Caffe Model to a Theano Model
License: MIT License
Convert a Caffe Model to a Theano Model
License: MIT License
Im beginner in caffe and I want to convert caffe model to theano mode and this it the result
`jmj@img-01:~/caffe-to-theano-master$ python caffe_to_theano.py lenet_train_test.prototxt mnist_iter_500000.caffemodel
/usr/local/lib/python2.7/dist-packages/theano/tensor/signal/downsample.py:6: UserWarning: downsample module has been moved to the theano.tensor.signal.pool module.
"downsample module has been moved to the theano.tensor.signal.pool module.")
Using gpu device 0: Tesla K20m (CNMeM is disabled, CuDNN not available)
loading structure from lenet_train_test.prototxt
loading data from mnist_iter_500000.caffemodel
Traceback (most recent call last):
File "caffe_to_theano.py", line 47, in <module>
in_size = [batch_size, net_param.input_dim[1], net_param.input_dim[2], net_param.input_dim[3]]
File "/usr/local/lib/python2.7/dist-packages/google/protobuf/internal/containers.py", line 64, in __getitem__
return self._values[key]
IndexError: list index out of range`
what should I do ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.