Pre-annotations

Use the Upload pre-annotation function when you have completed a certain amount of predictions for a project or when you have started a project on a different platform and want to migrate your work without any data loss. This functionality is implemented within Python SDK. Your upload source can be:

1) Local directory

Use the following SDK function to upload pre-annotations to the project.

superannotate.upload_preannotations_from_folder_to_project(project_name,folder_path)

2) AWS S3 Bucket

Upload pre-annotations from your AWS S3 bucket by specifying the bucket name in the following function.

superannotate.upload_preannotations_from_folder_to_project(project_name, folder_path, s3_bucket_name)

3) Recursive upload

Enable recursive upload by setting recursive_subfolders to true.

superannotate.upload_preannotations_from_folder_to_project(project_name, folder_path, s3_bucket_name, recursive_subfolders = True)