How to label a picture and please help me to fix error in my post

(buinhatquan) #1

I’am senior and my topic is handwritten digit recognition, but i use my dataset to train, not use MNIST dataset. I’m trying follow to this website to train my dataset. Unfortunately, I dont know how to label my image and I have a problem with my code like this. My code and my error below. Thank you everyone!!


The easiest way would probably be to store each image in the corresponding subfolder and use an ImageFolder to automatically generate the labels.

(buinhatquan) #3

Let me try, thank u :smiley: