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
Hello guys, i'm wondering if there is a way to push images from my source storage to the created task via api, i have tested the following code but eventually it doesn't pass the images:
def create_task(storage_id, project_id):
tasks_url = f"{API_BASE}/tasks"
task_data = {
"name": "New annotation task",
"project_id": project_id,
"source_storage": {
"id": storage_id,
"cloud_storage_id": None,
"location": "local", # Path within storage to your data
"use_default_location": False,
},
"labels": [], # Project labels will be used
"subset": "train", # Optional: assign a subset
"image_quality": 70, # Optional: image quality for compressed data
"use_zip_chunks": True, # Recommended for large tasks
"use_cache": True
}
my images are located in the root of the bucket, how can i set the prefix and send those images to this task?
The text was updated successfully, but these errors were encountered:
Hello guys, i'm wondering if there is a way to push images from my source storage to the created task via api, i have tested the following code but eventually it doesn't pass the images:
my images are located in the root of the bucket, how can i set the prefix and send those images to this task?
The text was updated successfully, but these errors were encountered: