Method | GET /IP address:port/<api_ver>/metric |
Description | The query is used to retrieve training metrics for the specified task |
GET http://localhost:5000/v1.3/metric?task_id=4ac03f98bb214f476473f10a95282df440199de130d985828d6c0469b17cf1ee&min_epoch=0&max_epoch=3
where:
Parameter | Description |
---|---|
task_id | A unique identifier of the task (uid), which can be obtained using a task list query (see Get the list of tasks) |
min_epoch | The value starting from which (inclusive) it is necessary to show epochs. Default value is 0 |
max_epoch | The value up to which (inclusive) it is necessary to show epochs |
{ "message": "Done", "metrics": { "0": { "acc": 50.66666793823242, "loss": 0.9217858910560608, "test_acc": 64.0, "test_loss": 0.7134290337562561 }, .... "3": { "acc": 46.66666793823242, "loss": 0.7211427092552185, "test_acc": 36.0, "test_loss": 0.7094659209251404 } } }
where:
Parameter | Description |
---|---|
metrics | An object containing metrics by epoch |
acc | Epoch accuracy |
loss | Loss of epoch |
test_acc | Test epoch accuracy |
test_loss | Test loss of epoch |
Response in case of error:
{ "error": "error description" }