"...app/src/git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "ecd2f176277db4f074e25a2c3646b04b51cec119"
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,
try:
image_buffer, height, width = _process_image(filename, coder)
except Exception, e:
print (e)
print ('SKIPPED. Unexpected eror while decoding %s' % filename)
except Exception as e:
print(e)
print('SKIPPED: Unexpected eror while decoding %s.' % filename)
continue
example = _convert_to_example(filename, image_buffer, label,
text, height, width)
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