How to get normalization stats of a Learner

I have trained a Learner on a dataset and I want to use that model to do some transfer learning on a similar task.

I passed in Normalize in the batch_tfms without the (imagenet_stats) so it automatically got the stats from the data.

How can I access that data from the Learner instance so that I save them and use them when Transfer Learning?

1 Like

learn.dls.normalize.mean learn.dls.normalize.std

2 Likes