Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ZackAkil/d8c63c542b4ae1054507f9fe7ff72a85 to your computer and use it in GitHub Desktop.
Save ZackAkil/d8c63c542b4ae1054507f9fe7ff72a85 to your computer and use it in GitHub Desktop.
Shell script that takes a folder on images stored on Google Cloud Storage and generates the CSV file needed to create a unlabeled dataset for AutoML Object Detection
for f in $(gsutil ls gs://YOUR_BUCKET/YOUR_IMAGES_FOLDER/);
do echo UNASSIGNED,$f,,,,,,,,,;
done >> labels.csv;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment