chouliuzuo opened this issue 6 months ago · 1 comments
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?????
cv2.imread
mask_generator.generate
TypeError: pic should be Tensor or ndarray. Got <class 'numpy.ndarray'>
<class 'numpy.ndarray'>
ndarray