Skip to main content

Tools to help with the scripts created by asanAI

Project description

asanAI Python Module

Release Workflow

asanAI is a Python module that allows you to execute scripts generated from machine learning models created in asanAI. It handles all necessary conversions from TensorFlow.js to Python and provides seamless integration for running, visualizing, and interacting with models locally.

⚠️ Note: Users typically do not need to install this module manually. It is automatically handled by the scripts generated by asanAI.


Features

  • Execute scripts generated from asanAI directly in Python.
  • Automatic conversion of TensorFlow.js models to Python TensorFlow (Keras) format.
  • Support for TensorFlow Sequential models.
  • Visualization support for:
    • Webcam input
    • Static image input
    • Simple and complex image outputs
    • Classification outputs with labeled probabilities
  • Beginner-friendly while still supporting advanced usage.

Getting Started

  1. Download your model On asanAI, click "Download model data" (or "Modelldaten downloaden"). Place the downloaded file in the same folder as your generated Python script.

  2. Run the script

python3 your_script.py          # Predict using webcam or default behavior
python3 your_script.py 1.jpg 2.jpg 3.jpg  # Predict on specific images

Project details


Release history Release notifications | RSS feed

This version

289

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asanai-289.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asanai-289-py3-none-any.whl (59.5 kB view details)

Uploaded Python 3

File details

Details for the file asanai-289.tar.gz.

File metadata

  • Download URL: asanai-289.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for asanai-289.tar.gz
Algorithm Hash digest
SHA256 cc4eb645efb5a22486b750b409bc4fcd28cdc4274c3dc8cb0072d5408a58c5ff
MD5 ac68e26ebea503ca9199301cde16e7e7
BLAKE2b-256 d13d474961eda244792c6381bac3ba641217e729961f5a0cd77ee5338d382185

See more details on using hashes here.

File details

Details for the file asanai-289-py3-none-any.whl.

File metadata

  • Download URL: asanai-289-py3-none-any.whl
  • Upload date:
  • Size: 59.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for asanai-289-py3-none-any.whl
Algorithm Hash digest
SHA256 137f234d1a810e85568af781e385e4b33cc00195bf1576e0ed8f45f34b3dcca0
MD5 e20f5712ac381d6f13695f6b71cae654
BLAKE2b-256 cecfb8ac6f4a8e5ec3bb0a8ef855c61de7aa2363c549d9e08f2ef03b4372f143

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