Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProActive
documentation
Commits
4a4e579a
Unverified
Commit
4a4e579a
authored
May 27, 2021
by
Imen Bizid
Committed by
GitHub
May 27, 2021
Browse files
add doc MaaS_DL_Prediction task (#743)
Co-authored-by:
Imen BIZID
<
imen.bizid@activeeon.com
>
parent
3ff9d8ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/docs/PML/PMLUserGuide.adoc
View file @
4a4e579a
...
...
@@ -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
M
aaS_ML
bucket
.
Drag
and
drop
the
`
MaaS_ML_Deploy_Model
`
task
from
the
M
odel
-
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 M
aaS_ML
bucket.
Drag and drop the `MaaS_ML_Call_Prediction` task from the M
odel-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
M
aaS_ML
bucket
.
Drag
and
drop
the
`
MaaS_ML_Actions
`
task
from
the
M
odel
-
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
M
aaS_DL
bucket
.
Drag
and
drop
the
`
MaaS_DL_Deploy_Model
`
task
from
the
M
odel
-
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 M
aaS_DL
bucket.
Drag and drop the `MaaS_DL_Undeploy_Model` task from the M
odel-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
M
aaS_DL
bucket
.
Drag and drop the `MaaS_DL_Actions` task from the M
odel-As-A-Service
bucket.
Execute the Workflow and set the different workflow'
s
variables
as
follows
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment