Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

pic should be Tensor or ndarray. Got <class 'numpy.ndarray'> #767

Open
chouliuzuo opened this issue Jun 26, 2024 · 0 comments
Open

pic should be Tensor or ndarray. Got <class 'numpy.ndarray'> #767

chouliuzuo opened this issue Jun 26, 2024 · 0 comments

Comments

@chouliuzuo
Copy link

I followed the ReadMe.md step by step, but the image read by cv2.imread cannot work in mask_generator.generate
It raised a TypeError: pic should be Tensor or ndarray. Got <class 'numpy.ndarray'>, why <class 'numpy.ndarray'> is not ndarray?????
1719379085725

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant