I have some images that I would like to convert to TFRecord format and load them into an S3 Bucket on AWS. However, existing solutions I found requires saving the TFRecords locally first, then uploading the saved local files to S3. I’m wondering if there’s a way to convert to TFRecords and save the output as .tfrecord directly to an S3 bucket.
Unfortunately I got an File system scheme 's3' not implemented error when I tried that. The filename I used with tf.io.TFRecordWriter was s3://BUCKET-NAME/record-name.tfrecord.
For additional information, I’m using tensorflow 2.4.4, with OS Windows 10. For some reason tf.io.read_file works, even without installing tf.io, but other methods like tf.io.gfile.GFile' returns the same s3 not implemented` error