We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我的python是3.7版本的,tensorflow-gpu 安装不了了,最好能把依赖包版本给出来比较好。
The text was updated successfully, but these errors were encountered:
13
ConfigProto disappeared in tf 2.0, so an elegant solution is:
import tensorflow as tf and then replace:
tf.ConfigProto by tf.compat.v1.ConfigProto
In fact, the compatibility built in 2.0 to get tf 1.: tf.compat.v1 is really helpful.
Useful link: Migrate your tensorflow 1. code to tensorflow 2.: https://www.tensorflow.org/guide/migrate
https://stackoverflow.com/questions/56127592/attributeerror-module-tensorflow-has-no-attribute-configproto/56132697
Sorry, something went wrong.
No branches or pull requests
我的python是3.7版本的,tensorflow-gpu 安装不了了,最好能把依赖包版本给出来比较好。
The text was updated successfully, but these errors were encountered: