TypeError: _open() got an unexpected keyword argument 'as_grey'

報錯:TypeError: _open() got an unexpected keyword argument ‘as_grey’ 解決方法: 把caffe.io.load_imga讀取圖片改爲cv2讀取:  image = cv2.imread(imagePath) image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB) image = image/255
相關文章
相關標籤/搜索