Hi, this is my first question, although I have been a reader of the forum since some time (thank you all).
I am a recent user of Fastai. I am able to train and do some inference on images. What I am not yet able (or sure to be able) is to normalize a test set. The code I use is:
path= …
test = ImageList.from_folder(os.path.join(path, ‘unknown/’))
learner = load_learner(path, file=‘model.pkl’, test=test)
preds, y = learner.get_preds(ds_type=DatasetType.Test)
When we call load_learner, we do an add_test(test), and when we do this we load our model with the same data statistics as our training set originally was, so this is applied