Image
Training
Training
Create Training Job
POST
/
v1
/
projects
/
{project_id}
/
train
Copy
Ask AI
curl --request POST \
--url https://api.landing.ai/v1/projects/{project_id}/train \
--header 'Content-Type: application/json' \
--data '{
"model": {
"architecture": "ConvNext-[16M]",
"hyperParams": {
"epochs": 20
}
},
"transforms": {
"preprocessing": [
{
"rescaleWithPadding": {
"height": 896,
"width": 1280,
"paddingValue": 0
}
}
],
"augmentations": [
{
"horizontalFlip": {
"p": 0.5
}
},
{
"randAugment": {
"numberTransforms": 2,
"magnitude": 4
}
}
]
}
}'
Copy
Ask AI
{
"data": "edcfea45-33b5-4a52-8625-94d156e63fb3"
}
Headers
Path Parameters
Query Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://api.landing.ai/v1/projects/{project_id}/train \
--header 'Content-Type: application/json' \
--data '{
"model": {
"architecture": "ConvNext-[16M]",
"hyperParams": {
"epochs": 20
}
},
"transforms": {
"preprocessing": [
{
"rescaleWithPadding": {
"height": 896,
"width": 1280,
"paddingValue": 0
}
}
],
"augmentations": [
{
"horizontalFlip": {
"p": 0.5
}
},
{
"randAugment": {
"numberTransforms": 2,
"magnitude": 4
}
}
]
}
}'
Copy
Ask AI
{
"data": "edcfea45-33b5-4a52-8625-94d156e63fb3"
}
Assistant
Responses are generated using AI and may contain mistakes.