Unverified Commit 4a4e579a authored by Imen Bizid's avatar Imen Bizid Committed by GitHub
Browse files

add doc MaaS_DL_Prediction task (#743)


Co-authored-by: Imen Bizid's avatarImen BIZID <imen.bizid@activeeon.com>
parent 3ff9d8ae
......@@ -522,7 +522,7 @@ Execute the workflow by setting the different workflow's variables as described
You can also deploy a specific ML model directly from the link:https://try.activeeon.com/studio[Studio Portal].
Drag and drop the `MaaS_ML_Deploy_Model` task from the MaaS_ML bucket.
Drag and drop the `MaaS_ML_Deploy_Model` task from the Model-As-A-Service bucket.
Execute the workflow and set the different workflow's variables as follows:
......@@ -568,7 +568,7 @@ Execute the workflow and set the different workflow's variables as follows:
Once the model is deployed, you can also call the service for prediction directly from the link:https://try.activeeon.com/studio[Studio Portal].
Drag and drop the `MaaS_ML_Call_Prediction` task from the MaaS_ML bucket.
Drag and drop the `MaaS_ML_Call_Prediction` task from the Model-As-A-Service bucket.
Execute the Workflow and set the different workflow's variables as follows:
......@@ -614,7 +614,7 @@ Execute the Workflow and set the different workflow's variables as follows:
You can also delete the service instance using the link:https://try.activeeon.com/studio[Studio Portal].
Drag and drop the `MaaS_ML_Actions` task from the MaaS_ML bucket.
Drag and drop the `MaaS_ML_Actions` task from the Model-As-A-Service bucket.
Execute the Workflow and set the different workflow's variables as follows:
......@@ -1078,7 +1078,7 @@ Execute the workflow by setting the different workflow's variables as described
You can also deploy a specific DL model directly from the link:https://try.activeeon.com/studio[Studio Portal].
Drag and drop the `MaaS_DL_Deploy_Model` task from the MaaS_DL bucket.
Drag and drop the `MaaS_DL_Deploy_Model` task from the Model-As-A-Service bucket.
Execute the workflow and set the different workflow's variables as follows:
......@@ -1124,7 +1124,7 @@ Execute the workflow and set the different workflow's variables as follows:
You can also undeploy a specific DL model directly from the link:https://try.activeeon.com/studio[Studio Portal].
Drag and drop the `MaaS_DL_Undeploy_Model` task from the MaaS_DL bucket.
Drag and drop the `MaaS_DL_Undeploy_Model` task from the Model-As-A-Service bucket.
Execute the Workflow and set the different workflow's variables as follows:
......@@ -1147,11 +1147,60 @@ Execute the Workflow and set the different workflow's variables as follows:
| Integer (default=Empty )
|===
==== Call the Service for Prediction
Once the model is deployed, you can also call the service for prediction directly from the link:https://try.activeeon.com/studio[Studio Portal].
Drag and drop the `MaaS_DL_Call_Prediction` task from the Model-As-A-Service bucket.
Execute the Workflow and set the different workflow's variables as follows:
.MaaS_DL_Call_Prediction variables
[cols="2,5,2"]
|===
| *Variable name* | *Description* | *Type*
3+^|*Workflow variables*
| `CONTAINER_PLATFORM`
| Specifies the type of container platform to be used (no container, docker, singularity, or podman).
| String (default=docker)
| `CONTAINER_GPU_ENABLED`
| If True, containers will run based on images containing libraries that are compatible with GPU.
| Boolean (default=False)
| `CONTAINER_IMAGE`
| Specifies the name of the image that will be used to run the different workflow tasks.
| String (default=Empty).
| `SERVICE_TOKEN`
| A valid token generated by the MaaS_DL Service for user authentication.
| String (default=Empty).
3+^|*Task variables*
|`MaaS_DL_INSTANCE_ENDPOINT`
| The endpoint of the started service.
| URL (default=Empty).
| `PREDICT_ENDPOINT`
| The base path to access the endpoint for prediction.
| String (default="/api/predict")
| `SERVICE_TOKEN`
| A valid token generated by the MaaS_DL Service for user authentication.
| String (default=Empty).
| `MODEL_NAME`
| The name of the deployed model that will be used for predictions.
| String (default=Empty)
| `MODEL_VERSION`
| The version number of the model that will be used for predictions.
| Integer (default=Empty)
| `INSTANCES`
| Entry data that needs to be scored by the deployed model.
| String (default=Empty)
| `CLASS_NAMES`
| Sorted class names that were used to train the deployed model.
| String (default=Empty)
|===
==== Delete/Finish the Service
You can also delete the service instance using the link:https://try.activeeon.com/studio[Studio Portal].
Drag and drop the `MaaS_DL_Actions` task from the MaaS_DL bucket.
Drag and drop the `MaaS_DL_Actions` task from the Model-As-A-Service bucket.
Execute the Workflow and set the different workflow's variables as follows:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment