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.8.tar.gz (10.3 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.8-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daiedge_vlab-0.2.8.tar.gz
  • Upload date:
  • Size: 10.3 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.8.tar.gz
Algorithm Hash digest
SHA256 5c83394ae46a4e91da7a3826d8d4321e486393a22325c016c33592b7145241b5
MD5 14d97e6418f34aff7ab3a0cf2f30e54c
BLAKE2b-256 9d0674d988d8511c49ff5cf8e2c2e2ca030d8da8d2bc0466bc32b6302a904823

See more details on using hashes here.

File details

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

File metadata

  • Download URL: daiedge_vlab-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 dd8d037fb4129a94f8056031baa24a1b1556f7de0d77a2ad3c9c95bb03bb4d5b
MD5 47ff867767f026863022549c8eba179b
BLAKE2b-256 162e2d497391a61a7c695b225fef4afecc8cbc1fc1b61e4b6ea54a4f084a7a92

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