====Pytorch/Pytorch

(-215:Assertion failed) iDepth == CV_8U || iDepth == CV_8S in function

YGspace 2021. 12. 17. 15:49

Torch.tensor to numpy img 변환 후 이미지처리시 오류 발생.

 

해결법

image1copy = np.uint8(image)
댓글수0