aws-samples / sagemaker-101-workshop

Hands-on demonstrations for data scientists exploring Amazon SageMaker
76 stars 47 forks source link

Make the MNIST drawing widget work in JupyterLab/Studio #3

Closed athewsey closed 1 year ago

athewsey commented 3 years ago

JupyterLab (and therefore also SageMaker Studio) uses a controlled extensions system and does not support arbitrary trusted HTML/JavaScript, so our current MNIST "draw a digit" widget only works in plain Jupyter.

Probably there are implementations out there that could support this if the right JupyterLab extensions were installed. ipycanvas looks like one possible candidate?

athewsey commented 2 years ago

This issue is now solved on TensorFlow - but leaving open until we manage to make sure the PyTorch experience is updated too.

athewsey commented 1 year ago

Verified the PyTorch MNIST notebook has already incorporated the widget (since at least 2023-03-28 I believe). Closing this old issue as done.