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"

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: daiedge_vlab-0.2.6.tar.gz
  • Upload date:
  • Size: 9.8 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.6.tar.gz
Algorithm Hash digest
SHA256 cf73b92de2055466e83e59cb23b336b3c987e3c66b2f7077287f9b32963683ee
MD5 5257f0634be2d606574a407e18295f48
BLAKE2b-256 763643216adeed7fb47bef4ddbbe09c9625d2a3faba7c1a49c9c395d4927468e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: daiedge_vlab-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 9.5 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 62a18a575e73e02011421e90d77cf9d6ffc1c3c989fea92cdb926c240196c07d
MD5 9595a8108cd25abf0b014b8c3b580d72
BLAKE2b-256 c88ea007fba44028fef0be7ecb63aa269685945ef37fd51d33afa83bb765e372

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