"vscode:/vscode.git/clone" did not exist on "ff76fa6fceff8aaf18a01dc6a078148f9ec39038"
Commit 08bf19d2 authored by Neal Wu's avatar Neal Wu
Browse files

Formatting/style fixes

parent ce1628a5
...@@ -263,12 +263,11 @@ def _process_image_files_batch(coder, thread_index, ranges, name, filenames, ...@@ -263,12 +263,11 @@ def _process_image_files_batch(coder, thread_index, ranges, name, filenames,
try: try:
image_buffer, height, width = _process_image(filename, coder) image_buffer, height, width = _process_image(filename, coder)
except Exception, e: except Exception as e:
print (e) print(e)
print ('SKIPPED. Unexpected eror while decoding %s' % filename) print('SKIPPED: Unexpected eror while decoding %s.' % filename)
continue continue
example = _convert_to_example(filename, image_buffer, label, example = _convert_to_example(filename, image_buffer, label,
text, height, width) text, height, width)
writer.write(example.SerializeToString()) writer.write(example.SerializeToString())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment