forked from docs/modelarts
Update content (#35)
Changes to ma_api from doc-exports#11 This is an automatically created Pull Request for changes to ma_api in opentelekomcloud-docs/doc-exports#11. Please do not edit it manually, since update to the original PR will overwrite local changes. Original patch file, as well as complete rst archive, can be found in the artifacts of the opentelekomcloud-docs/doc-exports#11 Reviewed-by: Artem Goncharov <Artem.goncharov@gmail.com>
This commit is contained in:
parent
2d9d363ec9
commit
ff2c85f770
@ -54,17 +54,17 @@ Procedure
|
||||
"methods": ["password"],
|
||||
"password": {
|
||||
"user": {
|
||||
"name": "username",
|
||||
"name": "username",
|
||||
"password": "**********",
|
||||
"domain": {
|
||||
"name": "domainname"
|
||||
"name": "domainname"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"scope": {
|
||||
"project": {
|
||||
"name": ""
|
||||
"name": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -25,6 +25,6 @@ Basic Concepts
|
||||
|
||||
.. figure:: /_static/images/en-us_image_0171392261.gif
|
||||
:alt: **Figure 1** Project isolation model
|
||||
|
||||
|
||||
|
||||
**Figure 1** Project isolation model
|
||||
|
@ -102,7 +102,7 @@ Decompress the downloaded package and reference the obtained JAR files as depend
|
||||
|
||||
.. figure:: /_static/images/en-us_image_0150917346.gif
|
||||
:alt: **Figure 1** Selecting Existing Projects into Workspace
|
||||
|
||||
|
||||
|
||||
**Figure 1** Selecting Existing Projects into Workspace
|
||||
|
||||
@ -110,7 +110,7 @@ Decompress the downloaded package and reference the obtained JAR files as depend
|
||||
|
||||
.. figure:: /_static/images/en-us_image_0150917350.gif
|
||||
:alt: **Figure 2** Selecting the demo project
|
||||
|
||||
|
||||
|
||||
**Figure 2** Selecting the demo project
|
||||
|
||||
@ -118,7 +118,7 @@ Decompress the downloaded package and reference the obtained JAR files as depend
|
||||
|
||||
.. figure:: /_static/images/en-us_image_0150917353.gif
|
||||
:alt: **Figure 3** Structure of the demo project
|
||||
|
||||
|
||||
|
||||
**Figure 3** Structure of the demo project
|
||||
|
||||
|
@ -138,7 +138,7 @@ If an API is used to obtain a user token, the request parameters and parameter d
|
||||
|
||||
.. code-block::
|
||||
|
||||
POST https://{iam-endpoint}/v3/auth/tokens
|
||||
POST https://{iam-endpoint}/v3/auth/tokens
|
||||
Content-Type:application/json
|
||||
{
|
||||
"auth": {
|
||||
|
@ -17,6 +17,6 @@ When you call APIs, certain requests require the username and ID. To obtain a us
|
||||
|
||||
.. figure:: /_static/images/en-us_image_0000001126895190.png
|
||||
:alt: **Figure 1** Viewing the username and ID
|
||||
|
||||
|
||||
|
||||
**Figure 1** Viewing the username and ID
|
||||
|
@ -17,6 +17,6 @@ When you call APIs, certain requests require the account name and ID. To obtain
|
||||
|
||||
.. figure:: /_static/images/en-us_image_0000001126894914.png
|
||||
:alt: **Figure 1** Viewing the account name and ID
|
||||
|
||||
|
||||
|
||||
**Figure 1** Viewing the account name and ID
|
||||
|
@ -624,7 +624,7 @@ The following shows how to create the **notebook-instance** instance with ID **P
|
||||
"provision": {
|
||||
"annotations": {
|
||||
"category": "Multi-Engine 1.0",
|
||||
|
||||
|
||||
"type": "system"
|
||||
},
|
||||
"spec": {
|
||||
|
@ -444,7 +444,7 @@ The following shows how to obtain the details about instance **6fa459ea-ee8a-3ca
|
||||
"name": "Multi-Engine 1.0 (python3)-gpu",
|
||||
"provision": {
|
||||
"annotations": {
|
||||
"category": "Multi-Engine 1.0 (python3)",
|
||||
"category": "Multi-Engine 1.0 (python3)",
|
||||
"type": "system"
|
||||
},
|
||||
"spec": {
|
||||
|
@ -263,19 +263,19 @@ The following shows how to query details about a model based on the model ID.
|
||||
"model_status": "published",
|
||||
"execution_code": "https://testmodel.obs.xxxx.com/customize_service.py",
|
||||
"image_address": "100.125.5.235:20202/models/10eb0091-887f-4839-9929-cbc884f1e20e:1.0.0",
|
||||
"input_params": [{
|
||||
"url": "/",
|
||||
"method": "post",
|
||||
"protocol": "http",
|
||||
"param_name": "data",
|
||||
"param_type": "object",
|
||||
"input_params": [{
|
||||
"url": "/",
|
||||
"method": "post",
|
||||
"protocol": "http",
|
||||
"param_name": "data",
|
||||
"param_type": "object",
|
||||
"param_desc": "{\"type\":\"object\",\"properties\":{\"req_data\":{\"items\":[{\"type\":\"object\",\"properties\":{}}],\"type\":\"array\"}}}" }],
|
||||
"output_params": [{
|
||||
"url": "/",
|
||||
"method": "post",
|
||||
"protocol": "http",
|
||||
"param_name": "data",
|
||||
"param_type": "object",
|
||||
"output_params": [{
|
||||
"url": "/",
|
||||
"method": "post",
|
||||
"protocol": "http",
|
||||
"param_name": "data",
|
||||
"param_type": "object",
|
||||
"param_desc": "{\"type\":\"object\",\"properties\":{\"resp_data\":{\"type\":\"array\",\"items\":[{\"type\":\"object\",\"properties\":{}}]}}}" }],
|
||||
"dependencies": [{
|
||||
"installer": "pip",
|
||||
|
@ -97,7 +97,7 @@ The following shows how to query the monitoring information about a real-time se
|
||||
{
|
||||
"service_id": "xxx",
|
||||
"service_name": "mnist",
|
||||
"monitors":
|
||||
"monitors":
|
||||
[{
|
||||
"model_id": "xxxx",
|
||||
"model_name": "minst",
|
||||
|
@ -232,7 +232,7 @@ The following shows how to query the details about the job configuration named *
|
||||
"spec_code": "modelarts.vm.gpu.v100",
|
||||
"user_image_url": "100.125.5.235:20202/jobmng/custom-cpu-base:1.0",
|
||||
"user_command": "bash -x /home/work/run_train.sh python /home/work/user-job-dir/app/mnist/mnist_softmax.py --data_url /home/work/user-job-dir/app/mnist_data",
|
||||
|
||||
|
||||
"dataset_version_id": "2ff0d6ba-c480-45ae-be41-09a8369bfc90",
|
||||
"engine_name": "TensorFlow",
|
||||
"is_success": true,
|
||||
|
@ -130,7 +130,7 @@ Query training jobs in batches.
|
||||
.. code-block::
|
||||
|
||||
{
|
||||
versions:[
|
||||
versions:[
|
||||
{
|
||||
"version_id": 1485,
|
||||
"version_name": "trainjob-3f47",
|
||||
|
@ -66,7 +66,7 @@ The following shows how to stop the visualization job whose ID is 10.
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
POST https://endpoint/v1/{project_id}/visualization-jobs/10/stop
|
||||
POST https://endpoint/v1/{project_id}/visualization-jobs/10/stop
|
||||
|
||||
- Successful sample response
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user