This document is a set of quick questions and generally useful FAQs.
-
Install pip
sudo apt-get install python3-pip
-
Install virtualenv using pip3
sudo pip3 install virtualenv
-
Create the virtual environment
virtualenv -p /usr/bin/python3.6 practicaldl
-
Active the virtual environment
source practicaldl/bin/activate
-
When we want to exit, use the deactivate command
deactivate
-
Use pip to install the necessary packages (listed in each chapter's README.md) in the virtual environment only.
Within the virtualenv
environment, please install the following:
Please follow the instructions on the website. Keras will also be installed as part of TensorFlow 2.0.
For Chapter 14 - Building the Purrfect Cat Locator App with TensorFlow Object Detection API, please use the protoc.sh
script to install everything needed.
-
Install
jupyter
inside thevirtualenv
. -
Run using
jupyter notebook
. You can also add--ip 0.0.0.0 --port 8888 --no-browser
if you want to remotely access the notebooks.
Use tmux
to keep sessions ongoing.