Extra Cutout Operation in Preprocessing
See original GitHub issueThis extra cutout operation is (deterministically for every image) done in the repository and not mentioned in the updated paper using RandAugment. Is the performance reported in the paper consistent with this implementation or the one specified in the paper?
More context:
for image in ori_images:
chosen_policy = aug_policies[np.random.choice(
len(aug_policies))]
aug_image = augmentation_transforms.apply_policy(
chosen_policy, image)
aug_image = augmentation_transforms.cutout_numpy(aug_image)
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
What Is Data Preprocessing? 4 Crucial Steps to Do It Right
It's a crucial process that can affect the success of data mining and machine learning projects. It makes knowledge discovery from datasets ...
Read more >NLP Text Preprocessing: A Practical Guide and Template
Based on the general outline above, we performed a series of steps under each component. Remove HTML tags; Remove extra whitespaces; Convert ...
Read more >Preprocessing of EEG data and computing ERPs
Preprocessing involves several steps including identifying individual trials from the dataset, filtering and artifact rejections. This tutorial covers how to ...
Read more >Preprocess Signals - MATLAB & Simulink - MathWorks
Preprocessing operations overwrite the signal on which they work. If you want to keep the original signal, duplicate it and operate on the...
Read more >4. Fairness Pre-Processing - Practical Fairness [Book] - O'Reilly
As discussed in the previous chapter, fairness can affect three stages of the data modeling pipeline. This chapter focuses on the earliest stage,...
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 Free
Top 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
I think we might have a different understanding of “The default augmentations for all methods include flips, pad-and-crop and Cutout”. Do you mean that Cutout, flip & pad-and-crop are in the search space of RandAugment? It actually means that they apply Cutout, flip, pad-and-crop in addition to two random operations.
This is similar to what has been done in AutoAugment:
So this is what has been done in AutoAugment: two operations->pad_and_crop->flip->cutout.
Yes. The order in this codebase should be two random ops -> cutout -> flip -> crop. The flip and crop is applied during training in data.py. We changed the order since we use random ops and cutout by numpy and PIL instead of building them into the TF computational graph. Flip and crop are applied during training so that the model sees more diverse images.