-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Handle empty change indices in SAM's mask to rle conversion #35665
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
53ddcab
Handle empty change indices in RLE conversion for masks
MSt-10 bbed9cf
Merge branch 'main' into sam-rle-bug
MSt-10 9030a8f
[test] Add unit tests for RLE encoding of masks in SamProcessor
MSt-10 e12e639
[test] Update RLE conversion tests to use TensorFlow implementation
MSt-10 9167384
[test] Fix formatting in SamProcessorTest according to check_code_qua…
MSt-10 a8c2114
[test] Fix formatting in SamProcessorTest according to check_code_qua…
MSt-10 f33aed6
Merge branch 'main' into sam-rle-bug
MSt-10 6230c61
Merge branch 'main' into sam-rle-bug
MSt-10 2333b0b
[test] Refactored rle test cases into one test and used tf tensors in…
MSt-10 8c55c50
Merge branch 'sam-rle-bug' of https://github.com/MSt-10/transformers …
MSt-10 c24bfe5
Merge branch 'main' into sam-rle-bug
MSt-10 b94a0f9
[test] Fix: removed self parameter from refactored methods
MSt-10 a12b546
Merge branch 'sam-rle-bug' of https://github.com/MSt-10/transformers …
MSt-10 60ae508
[test] Removed nested methods in run-length encoding tests for PyTorc…
MSt-10 90a3603
[test] Added description to individual to run-length encoding tests f…
MSt-10 494efa5
Merge branch 'main' into sam-rle-bug
MSt-10 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the only thing that changes here is the counts, we could reduce code with just updating counts 😉 but it's a nit!