Distributed-TensorFlow-Guide icon indicating copy to clipboard operation
Distributed-TensorFlow-Guide copied to clipboard

the code run unsuccessful in synchronous mode

Open Crishuang95 opened this issue 7 years ago • 1 comments

In the Synchronous-SGD, I run the ssgd.py and the wrong is happened. tensorflow.python.framework.errors_impl.InvalidArgumentError: NodeDef missing attr 'reduction_type' from Op<name=ConditionalAccumulator; signature= -> handle:Ref(string); attr=dtype:type,allowed=[DT_FLOAT, DT_DOUBLE, DT_INT32, DT_UINT8, DT_INT16, ..., DT_UINT16, DT_COMPLEX128, DT_HALF, DT_UINT32, DT_UINT64]; attr=shape:shape; attr=container:string,default=""; attr=shared_name:string,default=""; attr=reduction_type:string,default="MEAN",allowed=["MEAN", "SUM"]; is_stateful=true>; NodeDef: {{node sync_replicas/conditional_accumulator}} = ConditionalAccumulator_class=["loc:@sync_replicas/SetGlobalStep"], container="", dtype=DT_FLOAT, shape=[3,3,3,16], shared_name="conv0/conv:0/grad_accum", _device="/job:ps/replica:0/task:0/device:CPU:0"

Crishuang95 avatar Dec 23 '18 13:12 Crishuang95

Have u ever fixed it?

ae2leowen avatar Oct 12 '19 08:10 ae2leowen