upload_dataset

src.lookoutequipment.dataset.upload_dataset(root_dir, bucket, prefix)

Upload a local dataset to S3. This method will look for a training-data and a label-data in the root_dir passed in argument and upload all the content from both these folders to S3.

Parameters
  • root_dir (string) – Path to the local data

  • bucket (string) – Amazon S3 bucket name

  • prefix (string) – Prefix to a directory on Amazon S3 where to upload the data. This prefix MUST end with a trailing slash “/”