Giter VIP home page Giter VIP logo

Comments (5)

longcw avatar longcw commented on July 17, 2024

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.

dzyjjpy avatar dzyjjpy commented on July 17, 2024

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.

longcw avatar longcw commented on July 17, 2024

This line is to fill the data for caffe. So it's not the problem of pytorch.

from pytorch2caffe.

dzyjjpy avatar dzyjjpy commented on July 17, 2024

@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.

dzyjjpy avatar dzyjjpy commented on July 17, 2024

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)

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.