Skip to content

On Cloud Validation

This tutorial walks through how to run validation in the cloud using EdgeFirst Studio. In this setup, validation is executed as a managed validation session, which runs on a self-hosted EC2 instance. This option is ideal for users who do not have access to an embedded platform to host the validation process locally.

In this tutorial, you will validate a Vision model trained using either the end-to-end workflows or the Training Vision guide. Note that a Vision model detects objects in camera frames or images. If you are working with Fusion models, refer to Validating Fusion Models.

Alternatively, EdgeFirst Studio also supports On-Target Validation, which runs as a user-managed validation session. In this mode, the model is deployed and validated directly on an embedded platform. For more details, see On Target Validation.

Specify Project Experiments

From the Projects page, choose the project that contains the training session with the models you want to validate. In this example, the project chosen is called "My First Project". Next click the "Model Experiments" button as indicated in red.

Model Experiments
Model Experiments

Create Validation Session

In the experiment card, click the "Validate Sessions" button as indicated in red below.

Validate Sessions
Validate Sessions

You will be greeted to the "Validate Sessions" page as shown below.

Validate Sessions Page
Validate Sessions Page

Start a validation session by clicking on the "Actions" button on the top right corner of the page and then click "+ New" as indicated.

New Session Button
New Session Button

You will be greeted with a validation session dialog. In this dialog, specify the name of the validation session, the model to validate, and the dataset to deploy. In this example, the ONNX model will be validated and the "Coffee Cup" dataset with the validation partition will be used. Additional parameters are available on the right for user override. Otherwise the same parameters set in the training session will be used. For more information on these parameters hover over the info button Info Button.

Validation Session Fields
Validation Session Fields

Once the settings have been specified, go ahead and click on the "Start Session" button on the bottom right of the dialog. This will start the validation session which will validate the model using the validation partition of the dataset.

Session Progress

Once the validation session has started, the progress with the stages will be shown on the left and additional information and status is shown on the right.

Validation Session
Validation Session

Completed Session

The completed session will look as follows with the status set to "Complete".

Completed Session
Completed Session

The attributes of the validation sessions in EdgeFirst Studio are labeled below.

Validation Session Attributes
Validation Session Attributes

Validation Metrics

Once the validation session completes, you can view the validation metrics by clicking the "view validation charts" button on the top of the session card.

Validation Charts
Validation Charts

Info

See detection and segmentation metrics for further details.

You can go back to the validation session card by pressing the "Back" button as indicated in red below on the top left corner of the page.

Back to the Session Card
Back to the Session Card

Comparing Metrics

It is also possible to compare validation metrics for multiple sessions. See Validation Sessions in the Model Experiments Dashboard.

Next Steps

Now that you have validated your model, you can find examples for deploying your model in EdgeFirst Studio, PC, Embedded Targets, the Maivin, and the Raivin.