aws / aws/amazon-sagemaker-examples

Broken validation; due to javascript error

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

Description

https://github.com/awslabs/amazon-sagemaker-examples/blob/5f187521b83a2aed1842b1a550afba90a08295a6/sagemaker_neo_compilation_jobs/mxnet_mnist/input.html#L48

when trying to run the validation by drawing on the canvas observed the following error in chrome debug console
Uncaught ReferenceError: IPython is not defined
at set_value (:48:22)
at HTMLCanvasElement. (:22:29

Note: I am using sagemaker studio to run this example

This issue looks similar to the one describes @ https://github.com/jupyterlab/jupyterlab/issues/5888#issue-400974855

Contributor guide

Open the contributing guide

Research direction

Open sagemaker_neo_compilation_jobs/mxnet_mnist/input.html at line 48 and inspect set_value, then reproduce the canvas validation in SageMaker Studio while watching the Chrome console. Compare the browser environment with the linked JupyterLab issue. Done means drawing on the canvas completes validation without an “IPython is not defined” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jupyter-notebook
Domain
frontend, machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.