Giter Site home page Giter Site logo

Comments (7)

navsuda avatar navsuda commented on July 27, 2024

@Shahnawax , it seems you are using an older version of tensorflow. Please use TF 1.4 for loading the trained models.

from ml-kws-for-mcu.

Shahnawax avatar Shahnawax commented on July 27, 2024

Dear Naveen, thank you for quick reply.

I tried tensorflow version 1.0.1, 1.4.0 and 1.4.1. With all versions I am getting the same error. :(

from ml-kws-for-mcu.

navsuda avatar navsuda commented on July 27, 2024

Hi @Shahnawax, it may be related to this: tensorflow/tensorflow#12657. Also, can you try generating the .pb file on the same machine as you are testing it. (Training shouldn't take very long, ~1hr on a decent GPU).

from ml-kws-for-mcu.

NanWang0024 avatar NanWang0024 commented on July 27, 2024

To confirm, tensorflow/tensorflow#12657 successfully solved this problem.

A side note: better to use TF 1.5+ since another error (No module named 'tensorflow.python.ops.gen_audio_ops') showed up in 1.4 as described in tensorflow/tensorflow#14004.

Successfully loaded the models with tf_nightly-1.6.0.dev20180126-cp36-cp36m-win_amd64.whl.

from ml-kws-for-mcu.

navsuda avatar navsuda commented on July 27, 2024

Thanks @NanWang0024 .
Closing the issue as it is fixed in TF 1.5.

from ml-kws-for-mcu.

Shahnawax avatar Shahnawax commented on July 27, 2024

Thank you :)

from ml-kws-for-mcu.

ccnankai avatar ccnankai commented on July 27, 2024

@Shahnawax
In the quantization process, how to get the value of the quantization ranges -- act_max in quant_test.py .
how to set the specific value of the parameter act_max ( x 0 0 0 0 0 0 0 0 0 0 0 ) ?

from ml-kws-for-mcu.

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.