简体   繁体   中英

How to load image dataset to Jupyter notebook?

I am newbie in ML and Deep Learning and am currently working on Jupyter notebook.

I have an image dataset in the form of a zip file containing nearly 28000 images downloaded on my desktop. However, I am not being able to find any code that will make Jupyter notebook unzip the file and read it, so I'm able to work with it and develop a model.

Any help is appreciated!

Are these threads from the past helpful?

If you go the directory route, a friendly reminder that you'll need to update the code in each example to match your directory structure. Eg if you want to save images to and read images from a directory called "image_data", then change the code examples to unzip files into that directory and read images from that directory.

Lastly, for finding out what files are in a directory (so that you can read them into your program), see this thread answering the same question .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM