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
d1baa18c
Commit
d1baa18c
authored
Dec 21, 2016
by
Mostafa Rahmani
Committed by
GitHub
Dec 21, 2016
Browse files
Update cifar10_input.py
bug fix for contrib.deprecated eliminatation in tf version 12.
parent
62cea658
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tutorials/image/cifar10/cifar10_input.py
tutorials/image/cifar10/cifar10_input.py
+1
-1
No files found.
tutorials/image/cifar10/cifar10_input.py
View file @
d1baa18c
...
@@ -132,7 +132,7 @@ def _generate_image_and_label_batch(image, label, min_queue_examples,
...
@@ -132,7 +132,7 @@ def _generate_image_and_label_batch(image, label, min_queue_examples,
capacity
=
min_queue_examples
+
3
*
batch_size
)
capacity
=
min_queue_examples
+
3
*
batch_size
)
# Display the training images in the visualizer.
# Display the training images in the visualizer.
tf
.
contrib
.
deprecated
.
image_summary
(
'images'
,
images
)
tf
.
image_summary
(
'images'
,
images
)
return
images
,
tf
.
reshape
(
label_batch
,
[
batch_size
])
return
images
,
tf
.
reshape
(
label_batch
,
[
batch_size
])
...
...
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