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.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 dAIEdgeVlabAPI

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)
    r = api.startBenchmark(TARGET, RUNTIME, MODEL)

    result = api.waitBenchmarkResult(r['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.2.tar.gz (9.2 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.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daiedge_vlab-0.2.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for daiedge_vlab-0.2.2.tar.gz
Algorithm Hash digest
SHA256 d8c8e96da6abd582bf654f5644e99f49e32c66b4ed8cec875f02958e69e96d95
MD5 efce8a626684aae58938d61bb215cc73
BLAKE2b-256 86171594bc959a1b44b0876b70fddecda43b6605aace74262919809fbfd0d881

See more details on using hashes here.

File details

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

File metadata

  • Download URL: daiedge_vlab-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for daiedge_vlab-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d41ce8f8d5a78a5b838f1ed8348625a2c096cdfa41ae02f0c4d548c6703e5e8c
MD5 cfff6b28ee1999ac2aae8d764068cd2c
BLAKE2b-256 d2fb8292757b382f12fa55d12a4731ac92022e26a3f09d6aa5856b4fc3ffc82d

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