pretrained-models.pytorch icon indicating copy to clipboard operation
pretrained-models.pytorch copied to clipboard

what is normalize in imagenet_eval.py 101

Open jiahong-chen opened this issue 5 years ago • 1 comments

My editor say Undefined variable 'normalize', so i want to know where normalize is defined ?

jiahong-chen avatar Oct 01 '19 02:10 jiahong-chen

That file imagenet_eval.py needs some maintenance. You should change it to transforms.Normalize(mean=model.mean, std=model.std),

DKandrew avatar Jan 05 '20 05:01 DKandrew