How to add your own data set in Kernel?

i want to try out my own data set:
so i uploaded it as a .zip, and it shows in …input directory
my question now is, how do i specify it as a path and if i need to do any unzipping for the images?

i tried to:

path = Path(’…/input/’)
path_img = Path(’…/input/celebs/’)

and when i run:
fnames = get_image_files(path_img)

i get an error: FileNotFoundError: [Errno 2] No such file or directory: '…/input/celebs/’


I believe images are automatically unzipped. You can run Path('../input/celebs').ls() to check the folder content.

1 Like