Community
cancel
Showing results for 
Search instead for 
Did you mean: 
232 Views

How to import tensorflow in jupyter notebook which is opened in INTEL@Devcloud

Create a conda environment for installing tensorflow.

conda create -n my_intel_env -c intel python=3.6

Activate the environment.

source activate my_intel_env

Install the Intel® Optimization for TensorFlow* Wheel

pip install https://storage.googleapis.com/intel-optimized-tensorflow/tensorflow-1.11.0-cp36-cp36m-linux_x86_64....

To get the installed tensorflow in the jupyter notebook, follow the below instructions.

Install the ipykernel : 

conda install ipykernel

Follow the command.

ipython kernel install --name my_intel_env --user

After this, launch your python code from https://jupyter.devcloud.intel.com/ and

Select Kernel --> Change Kernel -->Select 'my_intel_env'.

Then import tensorflow.

 

0 Kudos
0 Replies
Reply