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

Deprecation warning using old scipy namespace for gaussian_filter #702

Open
JamesRamsden-Naimuri opened this issue Dec 2, 2022 · 0 comments

Comments

@JamesRamsden-Naimuri
Copy link

Describe the bug
foolbox is importing gaussian_filter from the namespace scipy.ndimage.filters, which is deprecated in more recent versions of scipy so yields a deprecation warning. The correct namespace of scipy.ndimage has been available since at least v1.2 so importing from there should support all target versions of Python (3.6 - 3.8).

To Reproduce
Install latest stable version of scipy (1.9.3). Run a Gaussian blue attack.

Expected behavior
No deprecation warning if newer namespace employed.

Software (please complete the following information):

  • Foolbox version: 3.3.3
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