Skip to main content

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


Comments

Popular posts from this blog

Masteral Degree in Information Technology at AMAOEd

Hi everyone! I am back. No, I just had no ideas in mind what to blog about. I am thinking about setting up new blog for movie reviews, so watch out for it.

I currently applied for the Masteral Degree in Information Technology at AMAOEd, and I got accepted. I am excited to finish this program and I hope to learn so many things from this program. I need to manage my time very well now, because I also work full-time as a web developer.

Did you also take a masteral degree? Can you share your experience? Please post your experience as comment below. I want to know more about how you manage to finish the program.

Setting up a Wordpress Site NGINX and MySQL

I am writing this blog post to remind myself how I was able to set up a wordpress site running on VirtualBox, Ubuntu 16.04, NGINX and MySQL as its database server.

Firstly, I forgot my root's password to access MySQL, so I googled for a way to reset the password.
I realized that there is a difference in resetting the password depending on the version of the mysql server.  URL: http://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html

When I was able to recover access in MySQL, I proceeded on to setup PHP 7 FPM to run with NGINX.  I already installed PHP 7 before, so I only need to setup PHP7-FPM. To set up a socket connection with NGINX, you must have a pool for every site.
Important to modify in a pool config are:
user, group, listen. the listen config must be the same socket file in absolute path in the NGINX config.
user and group (I don't know why) is a linux user and group.