Last active
January 12, 2019 02:45
-
-
Save hariby/8e47e7f39e06f6234b0ae7ff67ba9767 to your computer and use it in GitHub Desktop.
Create a Manifest File for Amazon SageMaker Ground Truth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put the output manifest file to your S3 (in the us-east-1 region). | |
object = 's3://aft-vbi-pds/bin-images/{:05}.jpg' | |
with open('aft-vbi-pds-manifest.json', 'w') as f: | |
for i in range(1, 100000): | |
f.write('{"source-ref":"' + object.format(i) + '"}\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment