Using imagefolder data

So, I am using this code here: dataset = load_dataset(‘imagefolder’, data_dir=‘/content/drive/MyDrive/Dataset’)

And my model is freezed there not loading data at all. Can you guys help me with it. My Image folder as subfolder train and validation, which also have two folder real and fake containing images they are basically my classes