During validation I use with torch.no.grad() before starting , while for test case I use model.eval() and yes I use the same pre-processing steps, the only difference would be the validation use batch size of 64 while during testing I use batch size of 1 since I use different PC for them. Would that be a problem?