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

Controller can handle dynamic strength range and levels of distortions. Bugfix for batched images forward warping call. #11

Merged
merged 3 commits into from
Jun 10, 2024

Conversation

vipulSharma18
Copy link
Member

Flexible controller:
The controller can now handle any number of distortion levels by sampling that many points from the hardcoded range of strength. It can also handle a user-defined range of strength values.

Batched images support: Fix for #7

@vipulSharma18 vipulSharma18 linked an issue Jun 9, 2024 that may be closed by this pull request
@fel-thomas
Copy link
Member

Great, possible to create a little associated test to be sure we don't have this problem in the future ? :)

@vipulSharma18
Copy link
Member Author

Great, possible to create a little associated test to be sure we don't have this problem in the future ? :)

Hello! If we're talking about the bug fix for batched images, yep, I'll create one. Maybe I'll add it to this or a new PR if this one is already closed by the time I do the changes.

@fel-thomas
Copy link
Member

I let you add the test and "rebase & merge" ! :)

@vipulSharma18 vipulSharma18 merged commit 47633a9 into main Jun 10, 2024
4 checks passed
@vipulSharma18
Copy link
Member Author

Added test cases for batched input in base.py WarpTransform and all the possible scenarios of using WarpController in controller.py. Also made the code coverage tool work for pytest-cov.

@vipulSharma18 vipulSharma18 deleted the vipul/flexibleController branch June 10, 2024 22:56
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.

grid_sample breaks for batched images
2 participants