FAQ
December 16, 2019 ยท View on GitHub
This document is a set of quick questions and generally useful FAQs.
Installation
virtualenv
-
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:
TensorFlow 2.0 Environment
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.
Jupyter Notebook
-
Install
jupyterinside thevirtualenv. -
Run using
jupyter notebook. You can also add--ip 0.0.0.0 --port 8888 --no-browserif you want to remotely access the notebooks.
Tmux
Use tmux to keep sessions ongoing.