WGAN Data Prep - Lesson 12

I got around the first error by explicitly creating the tmp file via terminal and commenting the TMP_PATH.mkdir(exist_ok=True) line out. I also changed the files = PATH.glob('bedroom/**/*.jpg') to the one in the screenshot below.

The error I am getting now is:

FileNotFoundError: [Errno 2] No such file or directory: 'data/lsun/files.csv'

I’m not sure exactly what the issue is, but I am feeling like it may have something to do with the permission setting of my docker instance as it relates to the larger file system. I am using @Matthew docker container via his setup, outlined here.

UPDATE–

Turns out it had nothing to do with permissions. I changed the working directory explicitly from ‘/code/fastai/courses/dl2’ to ‘/data/lsun’, which seems to have solved the issue.

Still trying to understand the reason for the atypical file structure of the data (ie ‘bedroom/**/*.jpg’).