How to add your own data set in Kernel?

Hello,
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?

Edit:
i tried to:

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

and when i run:
fnames = get_image_files(path_img)
fnames[:5]

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

45bad7273fe32fb258d87ecf641122fa

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

1 Like