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

Refactoring. Spatial transforms moved to geometric files. Better type… #1241

Merged
merged 7 commits into from
Jul 31, 2022

Conversation

ternaus
Copy link
Collaborator

@ternaus ternaus commented Jul 30, 2022

… hints

albumentations/augmentations/geometric/functional.py Outdated Show resolved Hide resolved
albumentations/augmentations/geometric/functional.py Outdated Show resolved Hide resolved
albumentations/augmentations/geometric/functional.py Outdated Show resolved Hide resolved
albumentations/augmentations/geometric/functional.py Outdated Show resolved Hide resolved
albumentations/augmentations/geometric/functional.py Outdated Show resolved Hide resolved
albumentations/augmentations/geometric/transforms.py Outdated Show resolved Hide resolved
albumentations/augmentations/geometric/transforms.py Outdated Show resolved Hide resolved
albumentations/augmentations/geometric/transforms.py Outdated Show resolved Hide resolved
albumentations/augmentations/geometric/transforms.py Outdated Show resolved Hide resolved
Comment on lines +17 to +18
BoxType = Union[Tuple[float, float, float, float], Tuple[float, float, float, float, Any]]
KeypointType = Union[Tuple[float, float, float, float], Tuple[float, float, float, float, Any]]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe to add additional type, for exapmle KeypointAndLabels?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking about it. But it is rather complicated to use such Type.

@Dipet Dipet merged commit 8e958a3 into master Jul 31, 2022
@Dipet Dipet deleted the move_spatial_to_geometric branch July 31, 2022 19:46
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