Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
bde7ddfb
"backends/client/src/v3/client.rs" did not exist on "4f9ac67cfa06348ab2375054af3e0ce62da2854e"
Commit
bde7ddfb
authored
Mar 18, 2017
by
jtran064
Committed by
Neal Wu
Mar 20, 2017
Browse files
output more meaningful error messages
parent
92d751b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
inception/inception/data/build_image_data.py
inception/inception/data/build_image_data.py
+5
-1
No files found.
inception/inception/data/build_image_data.py
View file @
bde7ddfb
...
...
@@ -208,7 +208,11 @@ def _process_image(filename, coder):
image_data
=
coder
.
png_to_jpeg
(
image_data
)
# Decode the RGB JPEG.
try
:
image
=
coder
.
decode_jpeg
(
image_data
)
except
:
print
(
'Unexpected eror while decoding %s'
%
filename
)
raise
# Check that image converted to RGB
assert
len
(
image
.
shape
)
==
3
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment