Comments (7)
@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.
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.
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.
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.
Thanks @NanWang0024 .
Closing the issue as it is fixed in TF 1.5.
from ml-kws-for-mcu.
Thank you :)
from ml-kws-for-mcu.
@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)
- mbed deploy failed. HOT 2
- train on custom dataset
- I have a problem about Accuracy of models
- false detection on new keywords
- Pre-defined Models Quantization HOT 1
- Required tensorflow version? HOT 1
- How to implement pb file in Android App HOT 1
- Problem with the DS-CNN model HOT 1
- No output received after porting this example to tmpm46b cortex m4 mcu HOT 1
- problem with the Speed of training
- update to TensorFlow 2 HOT 5
- windows fatal exception when run label.py HOT 1
- error to run label_wav HOT 1
- Completely wrong predictions on own wav files HOT 1
- mbed error
- mbed error HOT 1
- link
- How to run a DNN model with 436 neurons on the MCU?
- reproduction in keras doesn't give same accuracy HOT 1
- Requirements.txt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ml-kws-for-mcu.