xuyan1115 / pytorch2caffe Goto Github PK
View Code? Open in Web Editor NEWConvert PyTorch model to Caffemodel
Convert PyTorch model to Caffemodel
您好,我尝试着pytorch训练好的model.pth模型文件转化为caffe中的模型时,在跑demo.py文件时碰到了这样的问题,请问一下,您知道这是怎么回事吗?顺便问一下,您能把转换好的模型和网络文件发我学习一下吗,转换的模型还是您提到的beyond-part-models中的模型,qq2735123258,非常感谢啦!还问一句,您用的是pytorch的哪个版本呀!
My python env is Python 2.7.14 and PyTorch 0.3.1.
I try to convert my model, but face this problem:
AttributeError: 'MaxPool2DBackward' object has no attribute 'kernel_size'
Is it because this repo does not support PyTorch 0.3.1?
pytorch2caffe.py", line 352, in add_layer
for idx, value in enumerate(func.index):
TypeError: 'int' object is not iterable
I faced this problem, and donot know how to solve it. How can solve it? Thanks.
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.