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

Error in numpy method #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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