Cannot import name 'plot_image' from 'utils'

from utils import plot_image

Traceback (most recent call last):
File “ex1.py”, line 29, in
from utils import plot_image
ImportError: cannot import name ‘plot_image’ from ‘utils’ (/usr/local/lib/python3.7/dist-packages/utils/init.py)

It seems that the utils package that you are calling is not the correct one. Try loading the utils.py from the examples folder, or that you can find here (i.e. copy the file to your working directory with your notebook).