Audit and update exception messages in inception_v3.py.
@@ -115,11 +115,13 @@ def InceptionV3(
raise ValueError('The `weights` argument should be either '
'`None` (random initialization), `imagenet` '
'(pre-training on ImageNet), '
- 'or the path to the weights file to be loaded.')
+ 'or the path to the weights file to be loaded; '
+ f'Received: weights={weights}')
if weights == 'imagenet' and include_top and classes != 1000:
raise ValueError('If using `weights` as `"imagenet"` with `include_top` '
- ' as true, `classes` should be 1000')
+ 'as true, `classes` should be 1000; '
+ f'Received classes={classes}')
# Determine proper input shape
input_shape = imagenet_utils.obtain_input_shape(
