Fetch a model with the AML Dashboard

Fetch a model with the AML Dashboard

The AML Dashboard is a web-based tool that allows users, developers, and researchers to interact with the AML framework.

This tutorial showcases the fetching process of an AML model using the AML Dashboard.

../../_images/fetch_dashboard.png

Prerequisites

Ensure you have installed the AML Dashboard using one of the following methods:

For more information, check the AML Dashboard Interfaces and AML Dashboard Usage sections.

Running the demo

To run the necessary components for fetching a model using the AML Dashboard, follow these steps:

Start the backend server

  1. Navigate to the backend directory.

cd backend

  1. Load the AML-IP environment.

source /AML-IP/install/setup.bash

  1. Start the server:

python3 server.py

Start the Model Manager Sender Node

  1. Load the AML-IP environment.

source /AML-IP/install/setup.bash

  1. Navigate to the backend directory

cd backend

  1. Start the Model Manager Sender Node:

python3 sender.py

To stop the Model Manager Sender Node, press Ctrl + C.

Start the AML Dashboard

  1. Navigate to the frontend/aml_dashboard directory.

cd frontend/aml_dashboard

  1. Start the AML Dashboard:

 npm run dev

  1. Access the dashboard at http://localhost:5173/.

Fetching the Model

To fetch a model using the AML Dashboard, follow these steps:

  1. Click on the Fetching tab.
  2. Click on the Search for statistics button in the AML Statistics Fetcher.
  3. Once the statistics are received, the status will appear as Statistics received ! in the AML Collaborative Learning Status.
  4. Click on the Request model button in the AML Model Fetcher.
  5. Once the model is received, the status will change to Model received ! in the AML Collaborative Learning Status.

Note

Make sure that at least one Model Manager Sender Node is running to facilitate the model fetching process.

 

 

Next Steps

 

In the following tutorial we will guide you through the process of making predictions using AML-Dashboard. Stay tuned!

 

By Denisa Alexandru from eProsima

MORE INFORMATION ABOUT ALMA:

For any questions please contact This email address is being protected from spambots. You need JavaScript enabled to view it..

Logo ALMA

The ALMA project leverages AML properties to develop a new generation of interactive, human-centered machine learning systems.

Coordinator Office Address

Plaza de la Encina 10-11, Núcleo 4, 2ª Pl.
28760 Tres cantos - Madrid (España)

  • X
  • LinkedIn

EN-Funded_by_the_EU-POSThis project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 952091.