You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As suggested in this comment, the CenterCrop parameters used during training might not work for test images as some might be larger than that. To avoid this, it is best to remove center cropping for testing and check if we still get good predictions.
TODO:
Disable CenterCrop during testing and report findings here
The text was updated successfully, but these errors were encountered:
It appears that CenterCrop must be used during inference, because without it, we run into this RuntimeError. This is because for inputs with variable sizes, we cannot evenly divide the input volume into multiple sub-volumes hence raising this error.
I expected this error because dealing with variable input sizes during testing is a common problem and CenterCrop is essentially used to make sure that all inputs are uniformly-sized before feeding it to the model for inference.
As suggested in this comment, the CenterCrop parameters used during training might not work for test images as some might be larger than that. To avoid this, it is best to remove center cropping for testing and check if we still get good predictions.
TODO:
The text was updated successfully, but these errors were encountered: