input_size vs test_input_size #869
-
What is difference between input_size and test_input_size in efficientnetv2 and if we have to pass data to the network, what input size should our data have? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@talhaanwarch If test_input_size is present, it is used for validation, ie it is the preferred 'test time' or inference resolution, input_size is the default train resolution (or both if test_input_size) is not defined. As per https://arxiv.org/abs/1906.06423, models trained with heavier augmentations such as RandAugment or AutoAugment often test better at a larger scale, this works very well with fully convolutional (up to the last global pool) models. It's becoming more common to see models evaluated that way, see EfficientNetV2 paper https://arxiv.org/abs/2104.00298 and NFNet papers as other examples https://arxiv.org/abs/2102.06171 |
Beta Was this translation helpful? Give feedback.
@talhaanwarch If test_input_size is present, it is used for validation, ie it is the preferred 'test time' or inference resolution, input_size is the default train resolution (or both if test_input_size) is not defined. As per https://arxiv.org/abs/1906.06423, models trained with heavier augmentations such as RandAugment or AutoAugment often test better at a larger scale, this works very well with fully convolutional (up to the last global pool) models. It's becoming more common to see models evaluated that way, see EfficientNetV2 paper https://arxiv.org/abs/2104.00298 and NFNet papers as other examples https://arxiv.org/abs/2102.06171