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

Project details


Release history Release notifications | RSS feed

This version

426

Download files

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

Source Distribution

asanai-426.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

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

asanai-426-py3-none-any.whl (60.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for asanai-426.tar.gz
Algorithm Hash digest
SHA256 ae62d69f66116308703f186bb0997c0f5f666db18b1e640845b1f7445144c70f
MD5 325423ce48b46b96b82d6483e8ada6b8
BLAKE2b-256 1b29f09841acc0c932cefa767f79979b8b547f6368d4cd851e8b238e9dc18e17

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for asanai-426-py3-none-any.whl
Algorithm Hash digest
SHA256 fe618481ef94dd28a3e7cde6b14563ddba2028e73c90979fd84b64abe4b67e3e
MD5 87144a87c15d524e51238a92d0bb5e6b
BLAKE2b-256 a771be9fb797ae31d9d83255032608d1495074c3204885bee8f8defbb8f46fff

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