Professional Documents
Culture Documents
8991
Convolutional
Neural
Networks
dog: 0.7411 dog: 0.9341 dog: 0.9279
for
Image
Classification
dog: 0.8557 dog: 0.8712 dog: 0.8018
Software
Installation &
Verification
Flowchart .................................................................................................................. 2
Miniconda .................................................................................................................. 3
Environments............................................................................................................. 4
Keras ........................................................................................................................ 5
Jupyter Notebook ....................................................................................................... 6
FFmpeg..................................................................................................................... 7
OpenCV .................................................................................................................... 8
Scikit-learn ................................................................................................................ 9
Matplotlib ................................................................................................................. 10
Pandas ..................................................................................................................... 11
Tqdm ....................................................................................................................... 12
Pydot ....................................................................................................................... 13
Git........................................................................................................................... 14
Numpy ..................................................................................................................... 15
h5py ........................................................................................................................ 16
PyCharm .................................................................................................................. 17
Software Installation & Verification
Flowchart
Page 2
Software Installation & Verification
Miniconda
Miniconda is a minimal installer for conda.
Conda is a package manager system, as well as an environment management system.
Conda works on Linux, Windows and macOS.
Open Terminal Window and Open Explorer and find the Open Terminal Window and
navigate to the folder with downloaded file, for example: navigate to the folder with
downloaded file, for example: Miniconda3-latest-Windows- downloaded file, for example:
cd Downloads x86_64.exe cd Downloads
Links:
Check out additional links with useful instructions for further readings
✓ Miniconda
✓ Installing on Linux
✓ Installing on Windows
✓ Installing on macOS:
✓ Conda
Page 3
Software Installation & Verification
Environments
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ Conda documentation
✓ Managing environments
Page 4
Software Installation & Verification
Keras
Keras is a high-level neural networks library. It allows to implement experiments very fast:
from idea to output results.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Table 4. * Installation instructions for Keras and GPU (if there is Nvidia card)
Command Description
* Optional, if there is Nvidia card. The command will automatically install all needed toolkits for
Nvidia card, such as CUDA, cuDNN and others.
Links:
Check out additional links with useful instructions for further readings
✓ Keras
Page 5
Software Installation & Verification
Jupyter Notebook
Jupyter Notebook is an Interactive Computational Environment. It allows to run every cell of
the code separately without need to run entire file at once. Jupyter Notebook is a web-based
programming environment.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ Jupyter
✓ Quick Start
Page 6
Software Installation & Verification
FFmpeg
FFmpeg is a multimedia framework for processing video and other multimedia files, as well as
for creating video from set of images.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ FFmpeg
Page 7
Software Installation & Verification
OpenCV
OpenCV is a computer vision library. It can be used to read and process images, to capture
video from camera and many other purposes.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ OpenCV
Page 8
Software Installation & Verification
Scikit-learn
Scikit-learn is a machine learning library. It can be used to report classification results by
different metrics.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ Scikit-learn
Page 9
Software Installation & Verification
Matplotlib
Matplotlib is a 2D plotting library. It allows to produce figures of an excellent quality.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Activates environment
conda activate cnncpu
with name ‘cnncpu’
Verifies successful
python -c "import matplotlib; print(matplotlib.__version__)"
installation of Matplotlib
Links:
Check out additional links with useful instructions for further readings
✓ Matplotlib
Page 10
Software Installation & Verification
Pandas
Pandas is a library to manage data structures. It provides high-performance and is a very easy-
to-use tool.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ Pandas
Page 11
Software Installation & Verification
Tqdm
Tqdm is a library to show smart progress bar. It helps to track the calculations inside loops in
Real Time.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ Tqdm
Page 12
Software Installation & Verification
Pydot
Pydot is a library to visualize graphs. It helps to represent designed deep CNN models and see
connections between layers.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ Pydot
Page 13
Software Installation & Verification
Git
Git is a system to control versions of designed code. It can be used to clone and download
programs from GitHub.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ Git
Page 14
Software Installation & Verification
Numpy
Numpy is a fundamental package for numerical computations with Python. It is used to handle
operations with arrays.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ Numpy
Page 15
Software Installation & Verification
h5py
h5py is a package to store data in HDF5 binary format. It can be used to save processed
datasets into files, to save and load neural network models.
Open Terminal Window on Linux system. If you’re on macOS, then also open Terminal. If you’re
on Windows, then open Anaconda Prompt. All the commands are the same for Linux, macOS
and Windows.
Links:
Check out additional links with useful instructions for further readings
✓ h5py
Page 16
Software Installation & Verification
PyCharm
PyCharm is a Python development environment. It makes programming easy with smart
assistance.
Download PyCharm archive Download PyCharm installer Download PyCharm Image file
from official resource: here from official resource: here from official resource: here
Copy archive to the desired Open Explorer and find the Mount it as another disk in
location in an empty folder downloaded file your system
Links:
Check out additional links with useful instructions for further readings
✓ PyCharm
✓ Installation guide
Page 17