Python Library for Nodes which connect to the Zauberzeug Learning Loop
Project description
Learning Loop Node
This Python library helps you to write your own Detection Nodes, Training Nodes and Converter Nodes for the Zauberzeug Learning Loop.
General Usage
You can configure connection to the learning loop by specifying the following environment variables before starting:
- HOST=learning-loop.ai
- ORGANIZATION=
- PROJECT=
- USERNAME=
- PASSWORD=
Detector Node
Trainer Node
- if the command line tool "jpeginfo" is installed, the downloader will drop corrupted images automatically
Converter Node
A Conveter Node converts models from one format into another.
How to test the operability?
Assumend there is a Converter Node which converts models of format 'format_a' into 'format_b'.
Upload a model with
curl --request POST -F 'files=@my_model.zip' https://learning-loop.ai/api/zauberzeug/projects/demo/format_a
The model should now be available for the format 'format_a'
curl "https://learning-loop.ai/api/zauberzeug/projects/demo/models?format=format_a"
{
"models": [
{
"id": "3c20d807-f71c-40dc-a996-8a8968aa5431",
"version": "4.0",
"formats": [
"format_a"
],
"created": "2021-06-01T06:28:21.289092",
"comment": "uploaded at 2021-06-01 06:28:21.288442",
...
}
]
}
but not in the format_b
curl "https://learning-loop.ai/api/zauberzeug/projects/demo/models?format=format_b"
{
"models": []
}
Connect the Node to the learning loop by simply starting the container.
After a short time the converted Model should be available as well.
curl https://learning-loop.ai/api/zauberzeug/projects/demo/models?format=format_b
{
"models": [
{
"id": "3c20d807-f71c-40dc-a996-8a8968aa5431",
"version": "4.0",
"formats": [
"format_a",
"format_b",
],
"created": "2021-06-01T06:28:21.289092",
"comment": "uploaded at 2021-06-01 06:28:21.288442",
...
}
]
}
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 learning_loop_node-0.2.9.tar.gz.
File metadata
- Download URL: learning_loop_node-0.2.9.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.6 Linux/5.8.0-1039-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e399c9b73a3b46bbdb16cdb0c7000d618eb7b6e9d305b20374f3d5a00c2db542
|
|
| MD5 |
4482135faaac48314348b44be69ce367
|
|
| BLAKE2b-256 |
5417f3f3a1939c2d84b750d6f22681876a514c5e879d326e2e76b1885d7ec3ae
|
File details
Details for the file learning_loop_node-0.2.9-py3-none-any.whl.
File metadata
- Download URL: learning_loop_node-0.2.9-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.6 Linux/5.8.0-1039-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ac3a75cb8eda9dbd341ed2bf03df8afd831f8069095509a72b52d97aadea176
|
|
| MD5 |
007706094a849cbfca61d8cb2de9c343
|
|
| BLAKE2b-256 |
b877434b9b58438a18910156c5b4d7e1d07ea9a76da1e02c2d6ac0e669de94d1
|