Topic 1 Question 188
A machine learning (ML) specialist wants to bring a custom training algorithm to Amazon SageMaker. The ML specialist implements the algorithm in a Docker container that is supported by SageMaker.
How should the ML specialist package the Docker container so that SageMaker can launch the training correctly?
Specify the server argument in the ENTRYPOINT instruction in the Dockerfile.
Specify the training program in the ENTRYPOINT instruction in the Dockerfile.
Include the path to the training data in the docker build command when packaging the container.
Use a COPY instruction in the Dockerfile to copy the training program to the /opt/ml/train directory.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: B👍 5VinceCar2022/11/26
- 正解だと思う選択肢: B
https://docs.aws.amazon.com/sagemaker/latest/dg/adapt-training-container.html
In Step 2, it is mentioned to use this instruction on dockerfile:
Defines train.py as script entrypoint
ENV SAGEMAKER_PROGRAM train.py
👍 4wjohnny2022/12/14
シャッフルモード