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
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
Hashes for learning_loop_node-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0be0f2638412f9bbd2ceb59691e562dfd714c56e7847b18745c9231514ba78ca |
|
MD5 | e185b644b4fd3370fa64195f54101598 |
|
BLAKE2b-256 | 8c87514eccb4ac499efc836255422b0ff1e38f06500fa9ed52a4f9939fc1fb31 |