Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
fix mistake in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyu2172 committed Feb 3, 2019
1 parent 0f38d43 commit cbd7ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chainercv/utils/image/read_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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".')

0 comments on commit cbd7ca7

Please sign in to comment.