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-0.2.11.tar.gz (11.0 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-0.2.11-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for daiedge_vlab-0.2.11.tar.gz
Algorithm Hash digest
SHA256 7b180a4c3e883e0f0bad0616f1f45ae67927f03c071f8d84a51545387a9af8c1
MD5 0ae4fa0ad846866bccf3245f892ecfe3
BLAKE2b-256 26c107d47c281aab8ad016a0a9711f82b963fcf4d079be7ad2441c2b217555e1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for daiedge_vlab-0.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 1f65ef81b2d31dea2ea1c80cee4623358e1c51ae2dfa3c9f070f124e85f0803a
MD5 62e029270430401fee5bbe85535ce504
BLAKE2b-256 a051e9a6bd15c7b5b9b62123a948117c93fe747a07a1d07f490973ed1c9301b3

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