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.6.tar.gz (28.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.6-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daiedge_vlab-1.2.6.tar.gz
  • Upload date:
  • Size: 28.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.6.tar.gz
Algorithm Hash digest
SHA256 f204bb2cc07b65c809411a69476f16a28653fe7357027c7f3dfd57ce125be125
MD5 a1b4f0b7695693a5a2154bc87baf4cc2
BLAKE2b-256 a6a9d1fe4060df6add95688c753503db63b077d1e5f3131dc7a067af4d0de058

See more details on using hashes here.

File details

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

File metadata

  • Download URL: daiedge_vlab-1.2.6-py3-none-any.whl
  • Upload date:
  • Size: 22.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 386cea650b539190515a2e9337ad1f1c5a71a8ba4e47fc22cca16594a329ad50
MD5 640a8d31467afee76f7918f581eab6b4
BLAKE2b-256 bd9acd7e4c8e1b23a546b178f86bf9857bdeb95adf4c065d97c643c379b7f016

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