Skip to content
This repository was archived by the owner on Jun 27, 2022. It is now read-only.

Error in numpy method#3

Open
NadimKawwa wants to merge 1 commit intoudacity:masterfrom
NadimKawwa:patch-2
Open

Error in numpy method#3
NadimKawwa wants to merge 1 commit intoudacity:masterfrom
NadimKawwa:patch-2

Conversation

@NadimKawwa
Copy link

image.numpy().transpose((1, 2, 0)) does not seem to be a valid method. it throws the following error:
AttributeError: 'numpy.ndarray' object has no attribute 'numpy'
I suggest just removing the numpy() method and it works fine.

image.numpy().transpose((1, 2, 0)) does not seem to be a valid method. it throws the following error:
AttributeError: 'numpy.ndarray' object has no attribute 'numpy'
I suggest just removing the numpy() method and it works  fine.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant