Folder structure for my S3 bucket is:
Bucket
->training-set
->medium
-> img1.jpeg
-> img2.jpeg
-> img3.PNG
My training-set.lst file looks like this:
1 \t 1 \t medium/img1.jpeg
2 \t 1 \t medium/img2.jpeg
3 \t 1 \t medium/img3.PNG
I created this using excel sheet.
Error: Training failed with the following error: ClientError: Invalid lst file: training-set.lst
"InputDataConfig": [
{
"ChannelName": "train",
"CompressionType": "None",
"ContentType": "application/x-image",
"DataSource": {
"S3DataSource": {
"S3DataDistributionType": "FullyReplicated",
"S3DataType": "S3Prefix",
"S3Uri": 's3://{}/training-set/'.format(bucket)
}
},
"RecordWrapperType": "None"
},
{
"ChannelName": "validation",
"CompressionType": "None",
"ContentType": "application/x-image",
"DataSource": {
"S3DataSource": {
"S3DataDistributionType": "FullyReplicated",
"S3DataType": "S3Prefix",
"S3Uri": 's3://{}/test-set/'.format(bucket)
}
},
"RecordWrapperType": "None"
},
{
"ChannelName": "train_lst",
"CompressionType": "None",
"ContentType": "application/x-image",
"DataSource": {
"S3DataSource": {
"S3DataDistributionType": "FullyReplicated",
"S3DataType": "S3Prefix",
"S3Uri": "s3://bucket/training-set/training-set.lst"
}
},
"RecordWrapperType": "None"
},
{
"ChannelName": "validation_lst",
"CompressionType": "None",
"ContentType": "application/x-image",
"DataSource": {
"S3DataSource": {
"S3DataDistributionType": "FullyReplicated",
"S3DataType": "S3Prefix",
"S3Uri": "s3://bucket/test-set/test-set.lst"
}
},
"RecordWrapperType": "None"
}
]
I am trying to use this in Amazon Sagemaker. But I'm unable to do that. Can someone please help?