Chinese-QASystem
Chinese-QASystem copied to clipboard
tensorflow.python.framework.errors_impl.InvalidArgumentError: Node 'model/while_2': Control dependencies must come after regular dependencies
您好,我这里没有使用gpu,把train.py中的with tf.device("/gpu:0"):
换成了with tf.device("/cpu:0"):
结果出现如题错误,说是控制依赖必须要在常规依赖之前,不太懂是什么意思,上了google搜索也未果,希望您能解答,谢谢!