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 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.5.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.5-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daiedge_vlab-0.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 c5acb0899465719779aacc5064cb87f44fa17f006166477b476865a6658ced0a
MD5 fc13396a6941ac790f89ffa1066730e2
BLAKE2b-256 4ee0dac9a46a1d5c0202d2268b359a0d79b8d3aa791871f7be2562e534c431d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: daiedge_vlab-0.2.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e86d0b7c0051f52b190e4379a79df8ec59a35231d6872bdb880ac1a7438c86fb
MD5 c0cd52d8254ed69fd9165263d70bb838
BLAKE2b-256 6df03399436b30f9964cdf69807aa518c9c461b340059cab1d443bd3d6d885f3

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