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

Add masking_method arg name in Mask #1137

Conversation

lchauvin
Copy link
Contributor

Fixes #1136

Description

This fix add 'masking_method' as argument in Mask, avoiding crash when trying to invert the transform.

@fepegar fepegar changed the title Add masking_method as arguments in mask Add masking_method arg name in Mask Jan 28, 2024
@fepegar fepegar merged commit b3c8f5b into TorchIO-project:main Jan 28, 2024
14 checks passed
@fepegar
Copy link
Member

fepegar commented Jan 28, 2024

Thanks for the report and fix, @lchauvin!

@all-contributors please add @lchauvin for bug

Copy link
Contributor

@fepegar

I couldn't determine any contributions to add, did you specify any contributions?
Please make sure to use valid contribution names.

I've put up a pull request to add @lchauvin! 🎉

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.

masking_method in Mask class is not saved as argument (preventing applying the inverse transform)
2 participants