Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
1342 Discussions

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

JEYANTHKRI_N_Intel
838 Views

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.whl

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