segment-anything icon indicating copy to clipboard operation
segment-anything copied to clipboard

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

Open chouliuzuo opened this issue 8 months ago • 0 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????? 1719379085725

chouliuzuo avatar Jun 26 '24 05:06 chouliuzuo