-
Notifications
You must be signed in to change notification settings - Fork 178
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
关于input_data文件 #11
Comments
现在这个问题解决了吗?我也是一样的错误,百度还不知道怎么解决 |
请问应该怎么解决 |
请使用TensorFlow v1版本运行,如果使用新版本请参考以下链接。解决方法 |
你在安装tensorflow时用 pip install tensorflow<2.0 |
直接tf.compat.v1.train.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我用你的代码运行了train,然后弹出了一个错误,AttributeError: module 'tensorflow_core._api.v2.train' has no attribute 'slice_input_producer'
错误指出在input_data文件里的tf.train.slice_input_producer([image, label])不存在。
我查了资料,tf.train.slice_input_producer已经被弃用了。但不知道该用什么替代它。
The text was updated successfully, but these errors were encountered: