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
相关文章
相关标签/搜索