You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
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?????
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I followed the ReadMe.md step by step, but the image read by
![1719379085725](https://private-user-images.githubusercontent.com/80079120/343017426-1981a939-ff3d-4031-8727-3391487b2e2d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI5MzMxNzQsIm5iZiI6MTcyMjkzMjg3NCwicGF0aCI6Ii84MDA3OTEyMC8zNDMwMTc0MjYtMTk4MWE5MzktZmYzZC00MDMxLTg3MjctMzM5MTQ4N2IyZTJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA2VDA4Mjc1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFiNzRiNmU1NDZkNzhlZTAwNDBlNGMyOWE3YWJiN2Q0N2JjMTY3NmVhNDkxMjY5ZGJkNjg2ODcwMjlhNGY3MTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.DNGv8jNy1lq-aTEbHDYF85_Fw_UFlkieG9zo2rrZ8m8)
cv2.imread
cannot work inmask_generator.generate
It raised a
TypeError: pic should be Tensor or ndarray. Got <class 'numpy.ndarray'>
, why<class 'numpy.ndarray'>
is notndarray
?????The text was updated successfully, but these errors were encountered: