Python client for dAIEdge VLab: simplifies interaction with the API and provides utilities for model benchmarking and on-device training.
Project description
dAIEdge VLab
The dAIEdge VLab is a benchmarking platform for edge AI devices. It allows users to run benchmarks on various edge devices and retrieve the results.
Prerequisites
- An account on the dAIEdge VLab platform. You can create an account here.
- Python 3.9 or higher
Setup
Create a file .yaml in the root directory of the project and add the following content to it :
api:
url: "vlab.daiedge.eu"
port: "443"
user :
email: "your-email"
password: "your-password"
Use the package
Give the .yaml file path to the dAIEdgeVLabAPI constructor. The dAIEdgeVLabAPI object will try to log in to the API using the credentials provided in the .yaml file immediately after the object is created.
from daiedge_vlab import dAIEdgeVLabAPI
SETUP_FILE = "setup.yaml"
TARGET = 'rpi5'
RUNTIME = 'tflite'
MODEL = 'models/small_model.tflite'
if __name__ == '__main__':
api = dAIEdgeVLabAPI(SETUP_FILE)
id = api.startBenchmark(TARGET, RUNTIME, MODEL)
result = api.waitBenchmarkResult(id)
print(result)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file daiedge_vlab-0.2.4.tar.gz.
File metadata
- Download URL: daiedge_vlab-0.2.4.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e50832dc2b451a38da53f4e75c6a489aede638fe5fbdc996da2e2154529561a
|
|
| MD5 |
d65f44c2494552f519eefd829599f012
|
|
| BLAKE2b-256 |
b57ca0f3c7fa284bed4035e34fcd26290259c4df9c902d9bf008128d840363b0
|
File details
Details for the file daiedge_vlab-0.2.4-py3-none-any.whl.
File metadata
- Download URL: daiedge_vlab-0.2.4-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd3397965198b56b6df2c34269a16b8e07d8481341395c03326449d391f972fb
|
|
| MD5 |
e651f8ca6e3fac6c1959f54b3b5182e7
|
|
| BLAKE2b-256 |
760f2d2941e9e4bdb36861b614e3aee20b91d60325fd8ed6327a34e31403692a
|