Hi, I am newbie to PyTorch, I am doing an image classification problem, Please help me how to prepare the data for the RNN model.
my  Data looks like you:
file_path='dataset'

train=pd.read_csv(os.path.join(file_path,'train.csv'))

test=pd.read_csv(os.path.join(file_path,'test.csv'))
train.head()
Image	Class
0	image7042.jpg	Food
1	image3327.jpg	misc
2	image10335.jpg	Attire
3	image8019.jpg	Food
4	image2128.jpg	Attire


I prepared my data using OpenCV like this:
temp=[]
for img_name in train.Image:
    img_path=os.path.join(file_path,'Train Images',img_name)
    img=cv2.imread(img_path)
    img=cv2.resize(img,(64,64))
    emp.append(img)
y=train['Class'].map({"Food":0,"misc":1,"Attire":2,"Decorationandsignage":3})