Get status of the training

To get the status of the training, we can use the GET request with modelId. The CURL command for the request is as follows:

curl -X GET -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" https://api.einstein.ai/v1/vision/train/<modelId>

The successful response JSON would look like the following piece of code. Notice that the status will be SUCCEEDED for successful training:

      {
"datasetId": 1001310,
"datasetVersionId": 478,
"name": "flowers",
"status": "SUCCEEDED",
"progress": 1,
"createdAt": "2017-03-25T03:27:59.000+0000",
"updatedAt": "2017-03-25T03:29:15.000+0000",
"learningRate": 0.001,
"epochs": 3,
"object": "training",
"modelId": "3FIBARDU5LHI5XC7KAO3K2ZQYE",
"trainParams": null,
"trainStats": {},
"modelType": "image"
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset