You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to CVAT, I tried to create a basic project with some labels from the REST API,
I got response with status code 201 and the project shows in the UI but with no labels.
this is the payload for my post request -
payload = {
"name": 'project_from_rest_api',
"labels": [ {'name': 'car', 'color': '#2080c0',
'attributes': [{'id': 7, 'name': 'is_truncated',
'mutable': True,
'input_type': 'radio',
'default_value': 'true', 'values': ['true', 'false']}],
'type': 'rectangle', 'sublabels': [], 'has_parent': False}],
"owner_id": 1,
}
am I using wrong syntax to add labels?
The text was updated successfully, but these errors were encountered:
Hi, I had a similar task where i needed to create tasks in a pre-defined project in CVAT using CVAT REST API. I am also uploading images to these tasks. There are some other methods too for debug.
Maybe it will be helpful for somebody new at CVAT. CVAT_REST_API
My actions before raising this issue
I am new to CVAT, I tried to create a basic project with some labels from the REST API,
I got response with status code 201 and the project shows in the UI but with no labels.
this is the payload for my post request -
payload = {
"name": 'project_from_rest_api',
"labels": [ {'name': 'car', 'color': '#2080c0',
'attributes': [{'id': 7, 'name': 'is_truncated',
'mutable': True,
'input_type': 'radio',
'default_value': 'true', 'values': ['true', 'false']}],
'type': 'rectangle', 'sublabels': [], 'has_parent': False}],
"owner_id": 1,
}
am I using wrong syntax to add labels?
The text was updated successfully, but these errors were encountered: