报错: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
TypeError: _open() got an unexpected keyword argument 'as_grey'
最新推荐文章于 2024-04-17 23:40:30 发布