Skip to content
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

Fix bug in functional.erase (you can fix in Cutout) #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

magorokhoov
Copy link

@magorokhoov magorokhoov commented Dec 10, 2021

Must be [i:h, j:w, :] not [i:i+h, j:j+w, :]
because 'w' already contain 'j'.
w = mask_size + j (it calculates in transforms, Cutout)
This functional use in Cutout in transforms
I fixed erase, but you can fix Cutout

Must [i:h, j:w, :] not [i:i+h, j:j+w, :]
because 'w' already contain 'j'.
w = mask_size + j (it calculates in transforms, Cutout)
This functional use in Cutout in transforms
I fixed erase, but you can fix Cutout
@victorca25
Copy link
Owner

Hello! The changes would go in https://github.com/victorca25/augmennt, which is a subtree in this repo, but I'll review the commit and merge it there. Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants