mirror of
https://github.com/mozilla/DeepSpeech.git
synced 2025-10-26 11:19:39 +00:00
Fix #1731 is_chief reference from Config
This commit is contained in:
parent
02af22b692
commit
fcee7afe57
@ -473,7 +473,7 @@ def train(server=None):
|
||||
|
||||
# Hook to handle initialization and queues for sync replicas.
|
||||
if not server is None:
|
||||
hooks.append(optimizer.make_session_run_hook(is_chief))
|
||||
hooks.append(optimizer.make_session_run_hook(Config.is_chief))
|
||||
|
||||
# Hook to save TensorBoard summaries
|
||||
if FLAGS.summary_secs > 0:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user