Question: dataset = datasets.ImageFolder ( root = 'path _ to _ your _ data', transform = transform ) I changed to train _ data = datasets.ImageFolder
dataset datasets.ImageFolderroot'pathtoyourdata', transformtransform
I changed to traindata datasets.ImageFolderroottrain transformtransform
testdata datasets.ImageFolderroottest transformtransform Given that I have folder 'test' and 'train'. Each folder will have subfolder 'Action', 'Comedy', 'Horror', 'Romance', which includes many poster films for that type. Using the EfficientNetB as the base model, perform transfer learning to retrain 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
