EdgeFirst Validator
EdgeFirst Validator is a Python CLI tool for validating computer vision models
(object detection, instance segmentation, semantic segmentation, multitask)
against annotated datasets. It supports multiple inference backends — ONNX,
TFLite, Keras, TensorRT, DeepViewRT, and Kinara Ara2 — and integrates with
EdgeFirst Studio for cloud and on-target validation workflows. Published to
PyPI as edgefirst-validator.
Overview
Changelog
- Mar 10, 2026 [v5.5.0]: HAL decode_masks() migration, process_masks_retina, edgefirst-hal optional dependency, artifact download fix.
- Feb 17, 2026 [v5.4.0]: Split tensor decoding, cached dataset validation.
- Jan 28, 2026 [v5.3.0]: YOLO26 support and GREY color space support
- Jan 20, 2026 [v5.2.0]: Migrate color conversions to edgefirst-cameraadaptor library.
- Dec 19, 2025 [v5.1.0]: Handle metadata embedded in the model. Integrate changes to EdgeFirst HAL (
edgefirst_hal) - Nov 26, 2025 [v5.0.0]: Merge Ultralytics and Deployment (EdgeFirst) metrics. Computation of deployment metrics @ optimal thresholds. Defined validation stages.
- Nov 14, 2025 [v4.2.0]: Added HAL support (
edgefirst_python). Added Kinara model support. Distinguish semantic and instance segmentation metrics. - Aug 24, 2025 [v4.1.0]: Added ModelPack external decoding. Added Keras support. Added TP vs FP scores chart. Removed +1 padding to the NumPy NMS.
- June 16, 2025 [v4.0.0]: EdgeFirst Validator (formerly Deep View Validator) - Ultralytics metrics and EdgeFirst Studio integrations.
Installation
For on target validation, the system may already contain the dependencies needed to run the model such as tflite_runtime for TensorFlow Lite. In such cases, it is recommended to first create a python virtual environment with the --system-site-packages option enabled.
EdgeFirst-Validator is available in PyPI and can be installed via pip.
pip install edgefirst-validator
Validation of specific models requires these installations which includes the packages needed to run the models, in case the system at present does not contain these packages.
- HAL (GPU-accelerated preprocessing and mask decoding):
pip install edgefirst-validator[hal] - Keras:
pip install edgefirst-validator[keras] - ONNX:
pip install edgefirst-validator[onnx] - TensorRT:
pip install edgefirst-validator[tensorrt] - TFLite:
pip install edgefirst-validator[tflite] - Studio (all backends for cloud validation):
pip install edgefirst-validator[studio]
Usage
-
As a quickstart, deploy default validation of a YOLOv5 model with COCO128 dataset.
edgefirst-validator
-
Deploy validation as a user-managed session in EdgeFirst Studio. First login with EdgeFirst Client.
edgefirst-client loginedgefirst-validator --session-id <validator session ID>
Otherwise, you can specify the credentials directly.
edgefirst-validator --token <token> --session-id <validator session ID>
edgefirst-validator --username <username> --password <password> --session-id <Validator Session ID>
-
Deploy standalone validation.
edgefirst-validator <model path> <dataset path>
Documentation
Run the following commands to generate the documentation.
cd doc
pip install -r requirements.txt
make clean
make html
Unit Tests
Run the following commands to run the unit tests
pip install -r test/requirements.txt
python -m pytest
Build Instructions
Build the python wheel with these commands
pip install build
python -m build
Build the AMI using Packer
-
Install
packeron Ubuntusudo apt-get update sudo apt-get install -y gnupg software-properties-common curl
Add HashiCorp repo:
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp.gpg echo "deb [signed-by=/usr/share/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt-get update sudo apt-get install -y packer
-
Initialize packer
packer init validator.pkr.hcl
-
Build AMI
packer build -var "aws_access_key=$AWS_ACCESS_KEY_ID" -var "aws_secret_key=$AWS_SECRET_ACCESS_KEY" validator.pkr.hcl
Metadata
Release files for edgefirst-validator 6.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edgefirst_validator-6.0.9-py3-none-any.whl | Python 3 | none | any | Details for edgefirst_validator-6.0.9-py3-none-any.whl |
Release files / edgefirst_validator-6.0.9-py3-none-any.whl
| Download URL | edgefirst_validator-6.0.9-py3-none-any.whl |
|---|---|
| Size | 245.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d028b17ee78e2c0e950e3d17d13bfdc29eb9b9a3d7e1e88297e1702c7df7b072
|
|
BLAKE2b-256 checksum How to use checksums |
2b7b4bd134c592faccd1a77edf85ae045b6ed101f75209087e51567a794580d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for edgefirst-validator 6.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.