Tools to help with the scripts created by asanAI
Project description
asanAI Python Module
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
-
Create model On asanAI, create and train a model
-
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.
-
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asanai-291.tar.gz.
File metadata
- Download URL: asanai-291.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b071f28be48885115d4653a235243b44cb7ce84873497a2aa74001ed54e1629
|
|
| MD5 |
734830966077b74f9b0a699e3344c53f
|
|
| BLAKE2b-256 |
4a3ca9337d323c8acac011e40550c42d9cd123d39c4595237a367169e5425946
|
File details
Details for the file asanai-291-py3-none-any.whl.
File metadata
- Download URL: asanai-291-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d84e38b725d58192af6e486544c028872e02ea13a79c1e987530f6f1eaa680d
|
|
| MD5 |
9cc2763ad36b83390d21afcccdab41f9
|
|
| BLAKE2b-256 |
9fd088829c7e6764b3af68ad6a1499f9de754cba236b1717a995e97f7af548ed
|