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
ccb46317
Commit
ccb46317
authored
Apr 03, 2018
by
rerngvit
Browse files
Fix momentum value flag from string to float
parent
a7aa25d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
research/attention_ocr/python/common_flags.py
research/attention_ocr/python/common_flags.py
+1
-1
No files found.
research/attention_ocr/python/common_flags.py
View file @
ccb46317
...
...
@@ -73,7 +73,7 @@ def define():
flags
.
DEFINE_string
(
'optimizer'
,
'momentum'
,
'the optimizer to use'
)
flags
.
DEFINE_
string
(
'momentum'
,
0.9
,
flags
.
DEFINE_
float
(
'momentum'
,
0.9
,
'momentum value for the momentum optimizer if used'
)
flags
.
DEFINE_bool
(
'use_augment_input'
,
True
,
...
...
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