Thank you for your reply! As shown in the code above, I just modified the path to load the data set from ~/DATASETS/cifar.python to root='/home/ubuntu/bigdisk/DataSets/cifar10/static/orig/train/, Others such as train_transform have not changed. Only the path has changed. Using cifar.python, it can reach more than 96% each time, while using the img path converted by cifar.python, the accuracy rate is only 92% each time.
this is the img : 972×216
train for 50000, test for 10000