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
eff33131
Commit
eff33131
authored
Oct 12, 2018
by
Toby Boyd
Browse files
fix num_parallel_batches
parent
1f21b69e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/resnet/resnet_run_loop.py
official/resnet/resnet_run_loop.py
+1
-1
No files found.
official/resnet/resnet_run_loop.py
View file @
eff33131
...
@@ -91,7 +91,7 @@ def process_record_dataset(dataset,
...
@@ -91,7 +91,7 @@ def process_record_dataset(dataset,
tf
.
contrib
.
data
.
map_and_batch
(
tf
.
contrib
.
data
.
map_and_batch
(
lambda
value
:
parse_record_fn
(
value
,
is_training
,
dtype
),
lambda
value
:
parse_record_fn
(
value
,
is_training
,
dtype
),
batch_size
=
batch_size
,
batch_size
=
batch_size
,
num_parallel_
call
s
=
num_parallel_batches
,
num_parallel_
batche
s
=
num_parallel_batches
,
drop_remainder
=
False
))
drop_remainder
=
False
))
# Operations between the final prefetch and the get_next call to the iterator
# Operations between the final prefetch and the get_next call to the iterator
...
...
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