Just to confirm this solution. For training Deeplearning in AWS, must have your data locally, either locally in EC2 instance, either locally in EC2 of Notebook of Sagemaker.
And last information, pin_memory and num_worker, make the training faster ! much faster !
Thank you
Habib