diff --git a/chainercv/utils/image/read_image.py b/chainercv/utils/image/read_image.py index 5a068e4bd1..6421831ab7 100644 --- a/chainercv/utils/image/read_image.py +++ b/chainercv/utils/image/read_image.py @@ -127,5 +127,5 @@ def read_image(path, dtype=np.float32, color=True, alpha=None): elif chainer.config.cv_read_image_backend == 'PIL': return _read_image_pil(path, dtype, color, alpha) else: - raise ValueError('chainer.config.cv_read_image_backend should be ' - 'either "cv2" or "PIL".') + raise ValueError('chainer.global_config.cv_read_image_backend should ' + 'be either "cv2" or "PIL".')