Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Machine Learning – Specialty Docker containers on SageMaker Reply To: Docker containers on SageMaker

  • Carlo-TutorialsDojo

    Member
    April 9, 2021 at 12:51 am

    Hello goking,

    Thanks for raising this.

    SageMaker requires a specific folder structure inside the /opt/ml directory where it stores its artifacts when you’re building a custom algorithm.

    The excerpt “/opt/ml and all sub-directories are reserved by SageMaker training. When building your algorithm’s Docker image, please ensure you don’t place any data required by your algorithm under them as the data may no longer be visible during training.“ from the documentation is quite confusing because it did not specify what kind of data it is referring to.

    I’ve already sent an inquiry to AWS about this matter and I’ll update you as soon as I get a reply.

    But as far as the question goes, The /opt/ml/code/ directory is where the training code must be stored. AWS has detailed steps in creating custom SageMaker containers that you can check. The usage of the /opt/ml/code is shown here https://github.com/aws/sagemaker-containers.

    Let me know if you have other queries.

    Regards,

    Carlo @ Tutorials Dojo

Skip to content