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

untimeWarning: invalid value encountered in power img = np.power(img, gamma) #17

Open
oslo71 opened this issue Dec 12, 2022 · 0 comments

Comments

@oslo71
Copy link

oslo71 commented Dec 12, 2022

when I use the RandomGamma after ElasticTransform, sometimes this warning will arise. It seems that some of the volumn data after ElasticTransform will be negative, so applying np.power to it will trigger this warning, please tell me how to deal with it?

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

No branches or pull requests

1 participant