How to connect my own data for training a neural network?

I have the directory:

C:\Users\AppData\Local\Programs\Python\train_images

There two folders with images of winter in the first and summer in the second.
How to connect that data for training a neural network?