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
c5bb0543
Commit
c5bb0543
authored
Sep 24, 2016
by
Lukasz Kaiser
Committed by
GitHub
Sep 24, 2016
Browse files
Merge pull request #448 from cshallue/master
Fix bug caused by signature change of resize_images().
parents
85ccd4a3
1e16f101
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
im2txt/im2txt/ops/image_processing.py
im2txt/im2txt/ops/image_processing.py
+1
-2
No files found.
im2txt/im2txt/ops/image_processing.py
View file @
c5bb0543
...
...
@@ -109,8 +109,7 @@ def process_image(encoded_image,
assert
(
resize_height
>
0
)
==
(
resize_width
>
0
)
if
resize_height
:
image
=
tf
.
image
.
resize_images
(
image
,
new_height
=
resize_height
,
new_width
=
resize_width
,
size
=
[
resize_height
,
resize_width
],
method
=
tf
.
image
.
ResizeMethod
.
BILINEAR
)
# Crop to final dimensions.
...
...
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