aws / aws/amazon-sagemaker-examples

get_started_mnist_deploy.ipynb failed CI

Open
#2,527 0 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

Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/frameworks/pytorch/get_started_mnist_deploy.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [1]":
---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
in
11 # Get global config
12 with open('code/config.json', 'r') as f:
---> 13 CONFIG=json.load(f)
14
15 sess = Session()

/opt/conda/lib/python3.6/json/__init__.py in load(fp, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
297 cls=cls, object_hook=object_hook,
298 parse_float=parse_float, parse_int=parse_int,
--> 299 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
300
301

/opt/conda/lib/python3.6/json/__init__.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)

[...]

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Contributor guide

Open the contributing guide

Research direction

Start with frameworks/pytorch/get_started_mnist_deploy.ipynb and inspect the code/config.json file it opens in the first cell. Reproduce the notebook's CI failure and determine why that file cannot be decoded as JSON. Done means the notebook runs successfully in CI without the JSONDecodeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python, pytorch
Domain
ci-cd, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.