Run the jupyter notebooks in sagemaker

Can we run these labs as in in the AWS sagemaker studio? I have run few notebooks and have seen an error. FOr example I ran the C1_W3_Lab09_Regularization_Soln.ipynb lab in sagemaker studio and got an error on the last cell:

plt.close("all")
display(output)
ofit = overfit_example(True)

With Error:

Error displaying widget: model not found

Error displaying widget: model not found

I used the Data Science Image with Python 3 kernel, does anyone know if these notebooks can be run outside of coursera environment either locally or in sagemaker?

There are some tips in the FAQ for running the course notebooks in your own environment.

You’re responsible for figuring out the details of any specific platform.

Where is the FAQ link?

In the search tool at the top of the page, type “FAQ”.