Chinese-QASystem icon indicating copy to clipboard operation
Chinese-QASystem copied to clipboard

tensorflow.python.framework.errors_impl.InvalidArgumentError: Node 'model/while_2': Control dependencies must come after regular dependencies

Open zing1116 opened this issue 4 years ago • 0 comments

您好,我这里没有使用gpu,把train.py中的with tf.device("/gpu:0"):换成了with tf.device("/cpu:0"): 结果出现如题错误,说是控制依赖必须要在常规依赖之前,不太懂是什么意思,上了google搜索也未果,希望您能解答,谢谢!

zing1116 avatar Nov 29 '20 14:11 zing1116