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

292

Download files

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

Source Distribution

asanai-292.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-292-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for asanai-292.tar.gz
Algorithm Hash digest
SHA256 b656dff1f5105a5092044923277e66977dc8f68348986bd03e112a83ed144f47
MD5 11c7cd707d4d81fd205210f2c187436a
BLAKE2b-256 4bb527351bae57fe3208baac413dafb8668263e494a37468cea36afd19c24d3a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for asanai-292-py3-none-any.whl
Algorithm Hash digest
SHA256 015de8b981e559b7b3afc968ce5794bb5087e03a95d8aff6f1aaae42fce8b40f
MD5 3f6d390948f0df4a085598cd6c406b8b
BLAKE2b-256 370c234aaca4de8b3ae05bf8b76d99dfaafc1c25cedee9ffed4d6f9a5eebe476

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