Upload a pretrained model
POST {{baseUrl}}/api/:projectId/pretrained-model/upload
Upload a pretrained model and receive info back about the input/output tensors. If you want to deploy a pretrained model from the API, see startDeployPretrainedModelJob
.
Request Body
[{"name"=>"modelFile", "value"=>nil, "datatype"=>"null"}, {"name"=>"modelFileName", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"modelFileType", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"model":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"modelInfo":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}