Saturday, January 6, 2018

Learning TensorFlow

Just recently, I am so inspired to learn Tensorflow and DeepSpeech by Mozilla to work on a personal project.

I learned that to install and use DeepSpeech, it is best to use Mozilla's version of Tensorflow and compile it from source. Link to github is here. Link to DeepSpeech is here.

I would suggest to install them by compiling from source, rather than installing it using pip.
I encountered error messages like,

>>> tf.Session()
2018-01-05 17:19:01.747275: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX
<tensorflow.python.client.session.Session object at 0x7f02a0b3ae48>
I was following a youtube video of a tutorial about Tensorflow and this error message showed up.

Another error message also showed up when I installed DeepSpeech:

 (env) $ deepspeech
2018-01-05 17:58:21.092975: F tensorflow/core/platform/cpu_feature_guard.cc:35] The TensorFlow library was compiled to use AVX2 instructions, but these aren't available on your machine.
Aborted
To see if your pc supports instructions, type this:  grep flags /proc/cpuinfo

I will try to keep blogging about what I learned about Machine Learning, Tensorflow, DeepSpeech here in my blog.

Thanks for reading.

----------------------------

Found this on google:
https://github.com/tensorflow/tensorflow/issues/6896


No comments:

Post a Comment

Integrating Firefox and Selenium Webdriver

I am posting this on my blog to remind me what to do if I have to integrate firefox, and selenium webdriver. firstly, install selenium usi...