This fix fixes the logging format error in
`tensorflow/examples/image_retraining/retrain.py`.
This fix fixes 16735.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
filepath, _ = urllib.request.urlretrieve(data_url, filepath, _progress)
print()
statinfo = os.stat(filepath)
- tf.logging.info('Successfully downloaded', filename, statinfo.st_size,
- 'bytes.')
+ tf.logging.info('Successfully downloaded %s %d bytes.',
+ filename, statinfo.st_size)
print('Extracting file from ', filepath)
tarfile.open(filepath, 'r:gz').extractall(dest_directory)
else: