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

AttributeError: module 'autograd.numpy' has no attribute 'numpy_extra' #610

Open
muszyna25 opened this issue Nov 3, 2023 · 0 comments
Open

Comments

@muszyna25
Copy link

Hi, I am currently working on a code (Python 2.7) that was written about 5 years ago. The code uses Autograd and it looks like that module 'autograd.numpy' has no attribute 'numpy_extra'. This is an error that I am getting: AttributeError: module 'autograd.numpy' has no attribute 'numpy_extra'.

Here is the snippet of the code where this error comes from:
if type(self.DIVERSITY) is autograd.numpy.numpy_extra.ArrayNode: self.DIVERSITY = self.DIVERSITY.value[0,0]

Would you be able to advise how this autograd.numpy.numpy_extra.ArrayNode was replaced/changed in the latest release of the Autograd, please?

Thank you!

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