Giter VIP home page Giter VIP logo

Comments (8)

longcw avatar longcw commented on July 17, 2024

For now, this project doesn't support Index operation.
To support it, you have to find how caffe performs index selection.

from pytorch2caffe.

duyuting avatar duyuting commented on July 17, 2024

builtins.KeyError: 'NoneType'

File "/home/dyt/ssd.pytorch/pytorch2caffe/pytorch2caffe.py", line 165, in add_layer
layer['type'] = layer_dict[parent_type]

builtins.KeyError: 'NoneType'

from pytorch2caffe.

rainfalj avatar rainfalj commented on July 17, 2024

I met broadcastBackward error

from pytorch2caffe.

RORO11 avatar RORO11 commented on July 17, 2024

I met keyError['type']: 'ExpandBackward', and on windows,how can I solve this probelm???

from pytorch2caffe.

prashant-puri avatar prashant-puri commented on July 17, 2024

I also face same problem.

from pytorch2caffe.

GeorgeBohw avatar GeorgeBohw commented on July 17, 2024

what does "IndexBackward" mean?which layer's problem?

from pytorch2caffe.

zhangleiedu avatar zhangleiedu commented on July 17, 2024

In my case, 'IndexBackward' (pytorch0.4) is corresponding to 'Slice' in caffe , you can modify your layer_dict in pytorch2caffe.py, and add the params in this layer, hope this can help you.

from pytorch2caffe.

JennyVVV avatar JennyVVV commented on July 17, 2024

In my case, 'IndexBackward' (pytorch0.4) is corresponding to 'Slice' in caffe , you can modify your layer_dict in pytorch2caffe.py, and add the params in this layer, hope this can help you.

I have added 'IndexBackward': 'Slice' in the layer_dict, how can I add the params in this layer? What's the operation in this layer? When I try 'Slice', it reports errors.
elif parent_type =='IndexBackward': eltwise_param = { 'operation': 'Slice', } layer['eltwise_param'] = eltwise_param

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.