Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zing1116 opened this issue Nov 29, 2020 · 0 comments

Comments

@zing1116
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant