How To Install python3-keras-applications on Kali Linux
Introduction
In this tutorial we learn how to install python3-keras-applications
on Kali Linux.
What is python3-keras-applications
python3-keras-applications is:
Keras is a Python library for machine learning based on deep (multi- layered) artificial neural networks (DNN), which follows a minimalistic and modular design with a focus on fast experimentation.
Features of DNNs like neural layers, cost functions, optimizers, initialization schemes, activation functions and regularization schemes are available in Keras a standalone modules which can be plugged together as wanted to create sequence models or more complex architectures. Keras supports convolutions neural networks (CNN, used for image recognition resp. classification) and recurrent neural networks (RNN, suitable for sequence analysis like in natural language processing).
It runs as an abstraction layer on the top of Theano (math expression compiler) by default, which makes it possible to accelerate the computations by using (GP)GPU devices. Alternatively, Keras could run on Google’s TensorFlow (not yet available in Debian).
Keras Applications is the applications module of the Keras deep learning library. It provides model definitions and pre-trained weights for a number of popular architectures, such as VGG16, ResNet50, Xception, MobileNet, and more.
There are three methods to install python3-keras-applications
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install python3-keras-applications Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python3-keras-applications
using apt-get
by running the following command:
sudo apt-get -y install python3-keras-applications
Install python3-keras-applications Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python3-keras-applications
using apt
by running the following command:
sudo apt -y install python3-keras-applications
Install python3-keras-applications Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python3-keras-applications
using aptitude
by running the following command:
sudo aptitude -y install python3-keras-applications
How To Uninstall python3-keras-applications on Kali Linux
To uninstall only the python3-keras-applications
package we can use the following command:
sudo apt-get remove python3-keras-applications
Uninstall python3-keras-applications And Its Dependencies
To uninstall python3-keras-applications
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove python3-keras-applications
Remove python3-keras-applications Configurations and Data
To remove python3-keras-applications
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge python3-keras-applications
Remove python3-keras-applications configuration, data, and all of its dependencies
We can use the following command to remove python3-keras-applications
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-keras-applications
Dependencies
python3-keras-applications have the following dependencies:
References
Summary
In this tutorial we learn how to install python3-keras-applications
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.