Skip to content

Instantly share code, notes, and snippets.

Created October 21, 2021 18:32
What would you like to do?
for batchOfImages in batchedImages:
upload_result = trainer.create_images_from_files(, ImageFileCreateBatch(images=batchOfImages))
if not upload_result.is_batch_successful:
print("Image batch upload failed.")
for image in upload_result.images:
print("Image status: ", image.status)
print("Batch uploaded successfully")
print("Done uploading")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment