why center crop for testing instead of the whole image?
See original GitHub issuehi @junfu1115
i have a question: in BaseDataset
, the func _val_sync_transform
use center-crop
to crop the image. is it reasonable to use center-crop
to test the model instead of the whole image?
thanks.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Why do we use different image processing at train and test ...
For example, this pytorch tutorial uses RandomResizedCrop at train time and then Resize + CenterCrop at test time.
Read more >Pytorch - Should 'CenterCrop' be used to test set? Does this ...
In my experience, I found apply CenterCrop can get a significant improvement(e.g. 1% or 2%) on test, compare to without CenterCrop on test...
Read more >Part 2: Scale and Crop Images - SERC - Carleton
You just scaled up a portion of a large image, but it's more common to need to scale down large images to a...
Read more >Three cropping approaches for prediction. a 1-crop. b 10-crop ...
In 10 crop technique, 30 from the original image, four cropped sections are taken from four corners along with a center cropped section,...
Read more >A Beginner's Guide to Image Augmentations in Machine ...
Like Random Cropping, this technique is also used to crop the image. The main difference between center cropping and random cropping is that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@zhiweifang he uses the whole image without sync_transform when testing
@Mr-zihao u are right, i ignore this detail. thanks