A Machine Learning Specialist is assigned a TensorFlow project using Amazon SageMaker for training, and needs to continue working for an extended period with no Wi-Fi access. Which approach should the Specialist use to continue working?
A.
Install Python 3 and boto3 on their laptop and continue the code development using that environment.
B.
Download the TensorFlow Docker container used in Amazon SageMaker from GitHub to their local environment, and use the Amazon SageMaker Python SDK to test the code.
C.
Download TensorFlow from tensorflow.org to emulate the TensorFlow kernel in the SageMaker environment.
D.
Download the SageMaker notebook to their local environment, then install Jupyter Notebooks on their laptop and continue the development in a local notebook.
ANSWER B.
YOU COULD INSTALL DOCKER-COMPOSE (AND NVIDIA-DOCKER IF TRAINING WITH A GPU) FOR LOCAL TRAINING
HTTPS://SAGEMAKER.READTHEDOCS.IO/EN/STABLE/OVERVIEW.HTML#LOCAL-MODE
HTTPS://GITHUB.COM/AWSLABS/AMAZON-SAGEMAKER-EXAMPLES/BLOB/MASTER/SAGEMAKER-PYTHON-SDK/TENSORFLOW_DISTRIBUTED_MNIST/TENSORFLOW_LOCAL_MODE_MNIST.IPYNB
Correction it will be B, while D is possible, it cannot exactly mimic the sagemaker env, with docker all the configuration and libs will be available to the user which would be an ideal working setup for the DS to work with.
You can easily download the notebook instance, and work locally using jupyter notebook configured on your laptop
which is one the advantages of using sagemaker, and that is what Amazon also promotes imo.
Both Amazon Q (AWS Expert) and ChatGPT insist on D. Plus all the links that I see here about Docker/Git and stuff, they either not working or deprecated so far. Not to mention their complexity to my eyes.
Thus, I will go for D.
My assumption is that D there is no way to test the code. You need the Sagemaker SDK in order to utilize dockerized container of Tensorflow from Sagemaker is my best guess.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
DonaldCMLIN
Highly Voted 3 years agosqavi
1 year, 8 months agoVB
Highly Voted 2 years, 11 months agoef12052
Most Recent 2 weeks, 4 days agosfwewv
2 months agorookiee1111
5 months, 2 weeks agorookiee1111
5 months, 2 weeks agoArchMelody
7 months, 4 weeks agorav009
1 year agoMickey321
1 year, 1 month agoADVIT
1 year, 3 months agoValcilio
1 year, 7 months agoSriAkula
2 years, 7 months agonoblate
2 years, 9 months agoAddiWei
2 years, 7 months agoTomatoteacher
1 year, 9 months agorookiee1111
5 months, 2 weeks agoCMMC
2 years, 11 months ago