Thanks for your help.
In TensorFlow, I can use “s3://” directly just like local file system directory. For example to train imagenet with ResNet, just use “python imagenet_main.py --data_dir=s3://dataset/ilsvrc12/tfrecord”. With boto3 the python code still need be changed.