报错: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