Hey, could you explain what how you solved it?
I currently face this issue : I Read an image dataset using ImageFolder => Created train+val set using random_split() => tried to do train_set.classes and got the same attribute error you got.
What does it mean?