Question: dataset = datasets.ImageFolder ( root = 'path _ to _ your _ data', transform = transform ) I changed to train _ data = datasets.ImageFolder

dataset = datasets.ImageFolder(root='path_to_your_data', transform=transform)
I changed to train_data = datasets.ImageFolder(root='./train', transform=transform)
test_data = datasets.ImageFolder(root='./test', transform=transform). Given that I have 2 folder 'test' and 'train'. Each folder will have 4 subfolder 'Action', 'Comedy', 'Horror', 'Romance', which includes many poster films for that type. Using the EfficientNet_B0 as the base model, perform transfer learning to re-train the final layer using
this new dataset. Determine the test accuracy of this new model.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!