In this article, we show you how to use TensorBoard in an Amazon SageMaker PyTorch training job in this blog. The steps are:
In one of my recent projects, I need to use TensorBoard to visualize metrics from a Amazon SageMaker PyTorch training jobs. After searching online and checking AWS official documents, SageMaker SDK examples and AWS blogs, I realize that there is no existing step-by-step tutorial for this topic. So, I write this article, and hopefully give you a ready-to-use solution.
First, let us have a look the big picture when executing a PyTorch SageMaker training job. SageMaker facilities the process below:
SageMaker Training Job
Let us zoom in how data exchange between ML instance and S3 by the example below. Here we use SageMaker Python SDK.
#machine-learning #sagemaker #tensorboard #pytorch #deep learning