-
Notifications
You must be signed in to change notification settings - Fork 3
Environment Setup
While Jupyter runs code in many programming languages, Python is a requirement (Python 3.3 or greater, or Python 2.7) for installing the Jupyter Notebook itself.
It is strongly recommend installing Python and Jupyter using the Anaconda Distribution, which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.
To install jupyter using pip
python3 -m pip install --upgrade pip
python3 -m pip install jupyter
If you have Python 2 installed:
python -m pip install --upgrade pip
python -m pip install jupyter
To run Jupyter on your local Machine, use the following command
jupyter notebook
Although conda is not mandantory , but recommended to be installed.
Anaconda is a full featured Python development IDE that enables large-scale data processing, simplifies package management and deployment.
To download and install Anaconda: https://www.continuum.io/downloads.
TensorFlow is an open-source software library for dataflow programming across a range of tasks. Tensorflow is well-known for use in machine learning tasks such as neural networks.
To install Tensorflow:
$ pip install tensorflow # Python 2.7; CPU support
$ pip3 install tensorflow # Python 3.n; CPU support
Despite pip install, one can also use Virtualenv, Docker, or install from source. For detailed installation instruction, please refer to https://www.tensorflow.org/install/install_mac
Keras is an open source neural network library written in Python. It is capable of running on top of TensorFlow and provides a much easier API.
To install Keras:
sudo pip install keras
For more detailed installation instruction, please refer to https://keras.io/#installation
OpenCV (Open Source Computer Vision) is a library of programming functions mainly aimed at computer vision. OpenCV supports the deep learning frameworks like TensorFlow, T insorch/PyTorch and Caffe.
To istall open CV for python run the following command
pip install opencv-python
for python
pip3 install opencv-python
for python3