Skip to content

Train

Train

POST /tasks/train

Run train task

Example:

{
  "architectureId": 6,
  "source": {
    "project": 2,
    "dataset": null
  },
  "settings": {
    "title": "test_model",
    "nodeId": 1,
    "config": {
      "out_class_suffix": "bbox",
      "save_source_obj": false,
      "src_type": "image",
      "allowed_model_classes": "__all__",
      "min_score_threshold": 0.7,
      "gpu_device": 0
    }
  },
  "modelId": null
}

Response:

{ "taskId": 103 }