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
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:
I followed the ReadMe.md step by step, but the image read by
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: