Fixing the train-test resolution discrepancy