-
Notifications
You must be signed in to change notification settings - Fork 7.1k
NEW Feature: Mixup transform for Object Detection #6721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
ambujpawar
wants to merge
44
commits into
pytorch:main
Choose a base branch
from
ambujpawar:6720_add_mixup_transform
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 17 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
676a3ba
ADD: Empty file mixup.py for dummy PR
60cdf3b
ADD: Empty transform class
fd922ca
Merge branch 'main' into 6720_add_mixup_transform
ambujpawar 728c7ca
WIP: Random Mixup for detection
3f204ac
Merge branch 'main' into 6720_add_mixup_transform
f1b70b9
First draft: Mixup detections
cdda41b
Fix: precommit issues
2d0765c
Fix: failing CI issues
7e82ff2
Fix: Tests and ADD: get_params and check_inputs functions
b83aedf
Fix: Remove usage of soon to be deprecated to_tensor function
50bea74
Merge branch 'main' into 6720_add_mixup_transform
ambujpawar 90799b8
Remove: get params for mixup
248737d
Update _mixup_detection.py
ambujpawar 26316a4
Remove unused type: ignore due to failing CI test
ambujpawar d7e08d2
Merge branch 'main' into 6720_add_mixup_transform
pmeier 04c80d7
add batch detection helpers
pmeier 5667c91
use helpers in detection mixup
pmeier e0724a3
refactor helpers
pmeier 10c9033
Merge branch 'main' into 6720_add_mixup_transform
pmeier 6177057
revert accidental COCO change
pmeier 2b67017
Move: mixup detection to _augment.py
fa0f54e
Merge branch 'main' into 6720_add_mixup_transform
ambujpawar cae66d9
Merge branch 'main' into 6720_add_mixup_transform
pmeier ae9908b
refactor extraction and insertion
pmeier c2e2757
Fix: Failing SimpleCopyPaste and MixupDetection Failing tests
6b58135
Merge branch 'main' into 6720_add_mixup_transform
pmeier 5398c73
sample ratio in get_params
pmeier 044ba0d
fix padding
pmeier 884ace1
perform image conversion upfront
pmeier 99de232
create base class
pmeier 4ceef89
Merge branch 'main' into 6720_add_mixup_transform
pmeier a6b9ae0
add shortcut for ratio==0
pmeier fce49b8
fix dtype
pmeier 05c0491
Merge branch 'main' into 6720_add_mixup_transform
ambujpawar d995471
Apply suggestions from code review
ambujpawar 914a9ee
Merge branch 'main' into 6720_add_mixup_transform
ambujpawar cbf09c2
Undo removing test_extract_image_target of TestSimpleCopyPaste
ambujpawar 685d042
ADD: Test cases when mixup ratio is 0, 0.5, 1
ambujpawar 3319215
Fix: was doing wrong asserts. Corrected it
ambujpawar 02214b6
fix mixing
pmeier 4486e78
pass flat_inputs to get_params
pmeier 1b6dbe1
Update torchvision/prototype/transforms/_augment.py
ambujpawar 8a912ba
refactor SimpleCopyPaste
pmeier ebd6bfd
Merge branch '6720_add_mixup_transform' of https://github.com/ambujpa…
pmeier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.