aws / aws/amazon-sagemaker-examples

RL Deepracer Notebook FileNotFoundError

Open
#1,517 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

In: https://github.com/awslabs/amazon-sagemaker-examples/blob/master/reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/deepracer_rl.ipynb

Notebook fails when retrieving: training_metrics.json
`FileNotFoundError: S3 object s3://.../training_metrics.json never appeared after 1200 seconds`

Occurs when you run:
`training_metrics_file = "training_metrics.json" `
`training_metrics_path = "{}/{}".format(s3_prefix, training_metrics_file)`
`wait_for_s3_object(s3_bucket, training_metrics_path, tmp_dir)`

To reproduce error:

Launch SM Notebook instance
Clone https://github.com/awslabs/amazon-sagemaker-examples.git
Open https://github.com/awslabs/amazon-sagemaker-examples/blob/master/reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/deepracer_rl.ipynb
Click "Cell" -> "Run All"

Contributor guide

Open the contributing guide

Research direction

Open reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/deepracer_rl.ipynb in an Amazon SageMaker Notebook instance and run all cells to reproduce the missing training_metrics.json error. Trace the training_metrics_path and wait_for_s3_object calls, then verify that the notebook completes without the FileNotFoundError and retrieves the expected S3 object.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.