Git Product home page Git Product logo

Comments (5)

GeorgeARM avatar GeorgeARM commented on May 5, 2024

Hello @mo-morikawa ,
it's really nice that you can run your deep network models 😄
Currently, the only way of loading the weights and biases are to load them manually, meaning that you have to open and read the values from the file and then use them to fill the tensor manually. You can use some iterators to do this easily. Have a look here for some examples on how to fill a tensor.

I think it would be useful to have a function to automate and simplify this process so we will try to have something in place for the next release.

from computelibrary.

SunAriesCN avatar SunAriesCN commented on May 5, 2024

Hello @GeorgeARM ,
The example you gave is just for the formulation with NHW(batch, height, width), but how about the in-out channels? Is it the (out channels, height, width, in channels) formulation? I want to know something about convolution kernel shape.

from computelibrary.

GeorgeARM avatar GeorgeARM commented on May 5, 2024

Hell @SunAriesCN,

Apologies for my late response. Convolution kernels shape is [OFM, IFM, H, W] with faster changing dimensions from right to left, where OFM are the output feature maps and IFM the input feature maps.
Does this answer your question?

from computelibrary.

GeorgeARM avatar GeorgeARM commented on May 5, 2024

Latest release 17.09 adds initial support of a graph API. An example can be found here. A numpy loader is provided as well here where you can load weights dumped from caffe or tensorflow. Have a look for more details on how to do this here

from computelibrary.

GeorgeARM avatar GeorgeARM commented on May 5, 2024

Closing issue. Reopen if needed.

from computelibrary.

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.