Skip to content

input_size vs test_input_size #869

Answered by rwightman
talhaanwarch asked this question in General
Discussion options

You must be logged in to vote

@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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Doraemonzm
Comment options

@rwightman
Comment options

Answer selected by talhaanwarch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants