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
e4034bef
Commit
e4034bef
authored
Jul 31, 2018
by
Reed
Committed by
Taylor Robie
Jul 31, 2018
Browse files
Fix crash when --eval_batch_size is not set. (#4955)
parent
a2a943da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/recommendation/ncf_main.py
official/recommendation/ncf_main.py
+1
-1
No files found.
official/recommendation/ncf_main.py
View file @
e4034bef
...
...
@@ -202,7 +202,7 @@ def run_ncf(_):
num_gpus
=
flags_core
.
get_num_gpus
(
FLAGS
)
batch_size
=
distribution_utils
.
per_device_batch_size
(
int
(
FLAGS
.
batch_size
),
num_gpus
)
eval_batch_size
=
int
(
FLAGS
.
eval_batch_size
)
or
int
(
FLAGS
.
batch_size
)
eval_batch_size
=
int
(
FLAGS
.
eval_batch_size
or
FLAGS
.
batch_size
)
ncf_dataset
=
data_preprocessing
.
instantiate_pipeline
(
dataset
=
FLAGS
.
dataset
,
data_dir
=
FLAGS
.
data_dir
,
batch_size
=
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