How To Download Tensorflow In Jupyter Notebook
You will proceed as follow.
How to download tensorflow in jupyter notebook. Each time you want to open tensorflow you need to initialize the environment. The tensorflow package available in the anaconda navigator is tensorflow 1 10 it is therefore a better option to install using the terminal command because this will install tensorflow 1 12. Tensorflow is a free and open source software library used to do computational mathematics to build machine learning models more profoundly deep learning models. We ll use the same bit of code to test jupyter tensorflow gpu that we used on the commandline mostly. A docker container runs in a virtual environment and is the easiest way to set up gpu support.
Jupyter notebooks are a web based ui enabling data scientists or programmers to code interactively by creating paragraphs of code that are executed on demand. Jupyter notebook a browser window should now have opened up. Download nuget exe from https. Docker pull tensorflow tensorflow latest download latest stable image docker run it p 8888 8888 tensorflow tensorflow latest jupyter start jupyter server. You can open tensorflow with jupyter.
Docker run v c notebook home jovyan notebooks p 8888 8888 jupyter tensorflow notebook. The tensorflow docker images are already configured to run tensorflow. Step 1 activate conda. It downloads the jupyter tensorflow notebook docker image and with run creates a container based on this image. Run jupyter notebook verify tensorflow installation to open up the jupyter notebook type below command and hit enter to execute the command.
Tensorflow cpu first and that jupyter notebook is not running quit jupyter notebook by pressing ctrl c inside the. It does the following. Activate hello tf conda environment. Make sure that you are in the desired environment e g. You have just created a new jupyter notebook.
This article gives a good introduction to using jupyter notebook. Why use anaconda. If you want to install a python package you can do so inside of the anaconda prompt. This part is the same for both os.