Skip to main content

Getting Started With Tensorflow



It is an open source library for machine learning. It was developed at Google by Google brain team.
For more info regarding Tensorflow check the Wikipedia entry.

Getting Started with Installation

Referring to GitHub link and choosing the virtual environment Installation Procedure.
Following this link here for installation procedure of Tensorflow library  CPU version. We can choose any version listed along with CPU/GPU version.
After activating the python virtual environment as listed on installation manual console of our environment will be changed like this as in the picture below.
Console window changed with (tensorflow) at beginning. 
After this steps below,
 pip install --upgrade $TF_BINARY_URL
Faced a problem during installation with this message in console.
tensorflow-0.11.0-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.

Troubleshooting installation problem

Since this wheel was built using python 2.7 as we choose to install Tensorflow with python 2.7 and the pip using python 3 won't be able to install it.
 So using pip2 instead of pip like below we will be able to install it.
pip2 install --upgrade $TF_BINARY_URL

If problem faced with permission and operation not permitted use sudo 
make sure to use python 2 or the compatible python version according to your installation manual.

If further error faced following this link here will help.
Installation in progress
Installation of Tensorflow in progress
Checking out and testing the installation from command line as stated here in this link

Happy Learning
 I will be posting another post soon on this blog.
Comment here if you faced any problem :)

I will be more than happy to help you


Post a Comment

Popular posts from this blog

Big Oh notation and Algorithmic Complexity analysis

Introduction When executing a particular task using algorithms, one common thing that hits every problem solver brain is the efficient and fast algorithm to solve that problem. But, what do exactly fast and efficient means? Is it the measure of real processing time? No, it's not the measure of real time like second and minutes because the old computer with Pentium processor may take a long time to process the same algorithm than the new Intel i3 processor, or, A bad algorithm written in Assembly may execute faster than a good algorithm written in python. So, run time of program can't be considered to measure algorithmic efficiency. 
Hence, to measure the algorithmic efficiency, the concept of Asymptotic Complexity of a program and a notation for describing this called Big Oh  was introduced. Big Oh is the worst case, Big Omega and Big Theta are best and average case notations. Worst case means we are mostly unlucky for that problem domain , i.e precondition of task do not fav…

Error during activeadmin gem installation on Rails 5.0 app

Troubleshooting Error with rails activeadmin gem Installation.
Ever faced this error below with gem activeadmin installation in rails 5
Your bundle requires gems that depend on each other, creatingan infinite loop. Please remove gem 'meta_search' and tryagain.

Include this line in your Gemfile
gem 'activeadmin', github: 'activeadmin' update your bundle doing this.
bundle update This error will appear in your console

Fetching gem metadata from version metadata from dependency metadata from dependencies...Bundler could not find compatible versions for gem"actionpack": In Gemfile: activeadmin was resolved to 1.0.0.pre4, which depends onformtastic (~> 3.1) was resolved to 3.1.4, whichdepends on actionpack (>= 3.2.13) activeadmin was resolved to 1.0.0.pre4, which depends oninherited_…