Skip to main content

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. Create model On asanAI, create and train a model

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

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

Download files

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

Source Distribution

asanai-495.tar.gz (26.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-495-py3-none-any.whl (61.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for asanai-495.tar.gz
Algorithm Hash digest
SHA256 723a0a1f8c1aae1ceb1716407acc2da73f5511a295bfbea96b55e7c13613b46c
MD5 abe3a69b75f89c68c8e8e6629992972e
BLAKE2b-256 e4284c04e7b3d08c92da3caacb4cfcdfd0c6a0087a947edf6171a33352eba131

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for asanai-495-py3-none-any.whl
Algorithm Hash digest
SHA256 e530a0510e1002b56395887ed2279b649f11ece78778debca1b4c2f864eceb8c
MD5 1d36503488a642d5e8640e225017405f
BLAKE2b-256 ca91237fb7e65841e218fc66c9cf08166ee7010248440262d6e276bd370983af

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

495

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page