Skip to main content

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.7 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"
    base_path: ""  # Optional, can be left empty
    ssl: true  # Optional, true by default 
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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daiedge_vlab-1.2.10.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

daiedge_vlab-1.2.10-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file daiedge_vlab-1.2.10.tar.gz.

File metadata

  • Download URL: daiedge_vlab-1.2.10.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for daiedge_vlab-1.2.10.tar.gz
Algorithm Hash digest
SHA256 93c30a4ed0a27b3871a0143c711c878d77127e9f243bf88eb66bc9dcd20a80a6
MD5 4fc0706e3abfc4f97d555f6ab5b85757
BLAKE2b-256 35edd4ef08a5f89bd24dd97fb63ffd20697b930ea7c219af331a0a612fd41220

See more details on using hashes here.

File details

Details for the file daiedge_vlab-1.2.10-py3-none-any.whl.

File metadata

  • Download URL: daiedge_vlab-1.2.10-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for daiedge_vlab-1.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 dd2604a1cadbb85dad4a3293728569dd3192c35dd1d5b4be72b356e753e4184e
MD5 893d19ac3eb1f05e7341d0fa5732755a
BLAKE2b-256 4348f8028b7103bed5451796b5e8c88254bc206bf0a3d0e9da7d51343efced73

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page