Giter VIP home page Giter VIP logo

Comments (5)

majianjia avatar majianjia commented on May 26, 2024

hi, @kouroshD thanks for your interest,
The RNN types (inc. GRU/LSTM) are not currently supported because Keras does not support access to the intermediate output inside RNN cells. There is no straight forward method to quantize them. I am not sure I will/can implement it in the near future.

If you definitely need to use RNN layers, you may build the RNN cells using the supported layers (Dense, Conv, Sigmoid, TanH..) then concatenate the outputs. In this way, the intermediate output can be explicitly quantized thus it should be able to convert using the scripts.

Or, like many others just give up RNN types, and you can use Temporal Convolutional Networks (TCN) (e.g. WaveNet) to deal with time sequence data (speech/sensor data). TCN layers are also good at dealing time sequence data well. It required regular Convolution with Dilation. It is already implemented in NNoM.

from nnom.

majianjia avatar majianjia commented on May 26, 2024

Hi @kouroshD

I am not sure if you are still interested in RNN layers. I am now working on them
Just make the simple RNN cell tested. It provides no impact on accuracy comparing to Keras' RNN, and is available on this Develop branch. You could see the UCI-HAR example as the example for RNN at the moment.
LSTM will be followed up in this week if everything goes well.

Thanks,
Jianjia

from nnom.

majianjia avatar majianjia commented on May 26, 2024

Hi @kouroshD
LSTM and GRU are now working. Please check uci-har-rnn example

from nnom.

kouroshD avatar kouroshD commented on May 26, 2024

Hi @majianjia . Thank you for the updates and the support you have provided. In the following days, I will definitely look at them, and try to run them also my self.

Thanks,
Kourosh

from nnom.

jonnor avatar jonnor commented on May 26, 2024

This has been answered, and should be closed. CC @majianjia

from nnom.

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.