aws / aws/amazon-sagemaker-examples
RL Deepracer Notebook:File not Found error
- 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: evaluation_metrics.json
FileNotFoundError: S3 object s3://........../evaluation_metrics.json never appeared after 1200 seconds
The error occurs when you run:
evaluation_metrics_file = "evaluation_metrics.json"
evaluation_metrics_path = "{}/{}".format(s3_prefix, evaluation_metrics_file)
wait_for_s3_object(s3_bucket, evaluation_metrics_path, tmp_dir)

Launch Sagemaker 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
Contributor guide
Research direction
Open reinforcement_learning/rl_deepracer_robomaker_coach_gazebo/deepracer_rl.ipynb and run the notebook through the evaluation_metrics.json retrieval step. Start with the evaluation_metrics_path and wait_for_s3_object calls shown in the issue, then trace why the S3 object does not appear. Done means the notebook retrieves evaluation_metrics.json and continues without the FileNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook
- Domain
- cloud, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100