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
import boto3 | |
client = boto3.client('sagemaker') | |
s3_output = client.describe_labeling_job(LabelingJobName=labeling_job_name)['OutputConfig']['S3OutputPath'] + labeling_job_name | |
augmented_manifest_url = f'{s3_output}/manifests/output/output.manifest' | |
import os | |
import shutil | |
try: |
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
BUCKET = 'deeplens-sagemaker-poopinator' | |
PREFIX = 'working' # root path working space | |
labeling_job_name = 'dog-obj2' | |
training_job_name = 'poopinator-detection-resnet' | |
local_working_dir = 'working' | |
local_manifest_dir = local_working_dir + '/manifests' | |
!aws s3 sync s3://$BUCKET/images images |
NewerOlder