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

Refactor crops. Moved crop transforms to independent module and added type hints. #791

Merged
merged 2 commits into from
Jan 15, 2021

Conversation

Dipet
Copy link
Collaborator

@Dipet Dipet commented Dec 15, 2020

These transforms moved from albumentations/augmentation/transforms.py to albumentations/augmentation/crops/transforms.py
Also all related functions moved from albumentations/augmentation/functional.py to albumentations/augmentation/crops/functional.py

"RandomCrop",
"CenterCrop",
"Crop",
"CropNonEmptyMaskIfExists",
"RandomSizedCrop",
"RandomResizedCrop",
"RandomCropNearBBox",
"RandomSizedBBoxSafeCrop",

@Dipet Dipet requested review from ternaus, creafz and BloodAxe December 15, 2020 23:40
@Dipet Dipet merged commit 1f4fa59 into master Jan 15, 2021
@Dipet Dipet deleted the crops branch February 15, 2021 01:49
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.

3 participants