Cannot find directory h-or-s? Week 4 TF1

Hi. There seems to be a problem with the Jupiter notebook. It is not extracting the happy-or-sad zip file.
Anyone an idea?

Can you post the code snippet here? it is hard to figure out what is wrong? Is anyone else facing the same probelm?

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

Solved. Apparently I delete a forward slash in: train_generator = train_datagen.flow_from_directory( "/tmp/h-or-s”
That’s the reason in didn’t worked. Even when I started the whole notebook again it did not reappear.