1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

fix for a bug in distributed training that was introduced lately (#75)

This commit is contained in:
Itai Caspi
2018-11-08 16:52:48 +02:00
committed by GitHub
parent 83e0b09a6a
commit 389c65cbbe

View File

@@ -195,7 +195,7 @@ class GraphManager(object):
@staticmethod
def create_worker_or_parameters_server(task_parameters: DistributedTaskParameters):
if task_parameters.framework_type == Frameworks.tensorflow:
GraphManager._create_worker_or_parameters_server_tf(task_parameters)
return GraphManager._create_worker_or_parameters_server_tf(task_parameters)
elif task_parameters.framework_type == Frameworks.mxnet:
raise NotImplementedError('Distributed training not implemented for MXNet')
else: