question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

why center crop for testing instead of the whole image?

See original GitHub issue

hi @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:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
zihao-lucommented, Mar 26, 2019

@zhiweifang he uses the whole image without sync_transform when testing

0reactions
zimenglan-sysu-512commented, Mar 27, 2019

@Mr-zihao u are right, i ignore this detail. thanks

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found