The first cell is:
import tensorflow as tf
import os
import zipfile
from os import path, getcwd, chdir
DO NOT CHANGE THE LINE BELOW. If you are developing in a local
environment, then grab happy-or-sad.zip from the Coursera Jupyter Notebook
and place it inside a local folder and edit the path to that location
path = f"{getcwd()}/…/tmp2/happy-or-sad.zip"
zip_ref = zipfile.ZipFile(path, ‘r’)
zip_ref.extractall("/tmp/h-or-s")
zip_ref.close()
Here the zip file is extracted to ./tmp/h-or-s. But that is not working apparently.
Kind regards,
Aart Spilt