1.3. AML Dashboard¶
To get started with AML Dashboard, follow these steps.
Clone the repository using the following command:
git clone https://github.com/eProsima-Private/AML-Dashboard.git
After cloning the repository, you must manually place the aml_engine inside the backend folder of the AML Dashboard.
Note
The aml_engine is not included in the repository and must be obtained separately.
Please refer to the section Get access to AML Toolkit for instructions on how to request access to the AML Engine.
1.3.1. Requirements¶
If AML-IP is not already installed in your system, follow the installation instructions provided here.
1.3.1.1. Python dependencies¶
Ensure you have Python3.11 installed together with the packages listed in the requirements.txt file. If not, install them using the following commands:
python3 -m venv aml-ip-venv
source aml-ip-venv/bin/activate
wget https://raw.githubusercontent.com/eProsima-Private/AML-Dashboard/main/requirements.txt
pip3 install -r requirements.txt
pip install tensorflow[and-cuda]
Note
pipx can also be used for users who prefer that as an alternative for managing Python packages in isolated environments.
1.3.1.2. Context Broker¶
Finally, ensure that FIWARE Context Broker is correctly installed, following the steps provided here.
1.3.1.3. npm and nodejs¶
Ensure you have npm (8.5.1) and nodejs (v12.22.9) installed. If not, install them using the following command:
sudo apt install -y npm nodejs
Verify the installed versions using:
npm -v
node -v
1.3.1.4. Frontend Dependencies¶
Navigate to the frontend/aml_dashboard directory and install the frontend dependencies:
cd frontend/aml_dashboard
npm i
By following these steps, you’ll have AML Dashboard equipped with all the necessary components and dependencies.