TensorFlow 2.0 – Linux Installation

Over the weekend a fellow software developer sent me an email message with a question regarding the JUnit Example post. Given that the interchange did not occur via the message section following all posts, I will not post the sequence of messages. The question was not regarding an existing test case in the TriangleTest class. What he was interested in is a new test case in which one could generate a text file with the information to run multiple (e.g., 100) test cases at once. If you are interested you can find the proposed solution in my GitHub repository. I post it as a second branch. I will not be merging branches due to the fact that this modification would not work with the original challenge. In addition, I did modify the test scaffolding on the Solution not to prompt for the lengths of the sides in the triangle. It is easier to copy and paste the sides that to be prompted for each side separately. Continue reading “TensorFlow 2.0 – Linux Installation”

Java Lambda Expressions

http://(https://hackernoon.com/tensorflow-is-dead-long-live-tensorflow-49d3e975cf04This morning I read the post on Medium named “TensorFlow is dead, long live TensorFlow!” by Cassie Kozyrkov who is a Chief Decision Intelligence Engineer at Google. After lunch will spend some time watching the videos embedded in the post and over the weekend will see if I can take TensorFlow 2.o on a Linux machine for a spin. I have a version of TensorFlow 1.0 installed on a Windows machine. Followed some tutorials but as Cassie puts  it so expressively, it was complicated to say the least. Continue reading “Java Lambda Expressions”

Revisiting TensorFlow™

Over the weekend decided to continue experimenting with TensorFlow during the next couple weeks. The first task was to make sure my installation was up to date.

One of the requirements for TensorFlow on Windows is to use Python 3.5 or higher. For some reason my previously installed Python version switched to 2.7. I believe that happened when using Conda after installing TensorFlow for the first time. I checked my machine and Python was installed in the C:\Program Files\Python35 folder. Nevertheless I decided to download the latest version of Python and reinstall it. Apparently it was the same: 3.5.2. Continue reading “Revisiting TensorFlow™”

TensorFlow(tm) on Windows

As you might already know, TensorFlow(tm) could not run natively on Windows. At the time you had to run it on a VM or a Docker container. Earlier this month Google released a native version for Windows. This morning I woke up around 04:00 AM and decided to install it on my computer to have it available over the weekend. The installation is quite simple and it works as I will show.

Initially I ran into problems due to different versions of Anaconda and Python on my machine. The instructions from Google call for Python 3.5 (or higher). I had installed different versions (i.e., Python 2.7) plus Python Tools 2.2 for Visual Studio 2013. I decided to remove programs in order, leaving Python for VS towards the end. I really wanted to avoid removing such package. Continue reading “TensorFlow(tm) on Windows”