-
Notifications
You must be signed in to change notification settings - Fork 223
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
Error - tensorflow has no attributeget_default_session()
#162
Comments
try this import tensorflow.compat.v1 as tf |
i fixed it as below: https://github.com/wisonwang/tensorrec/commit/590c7f63b42bdeb9c0b5be43759ee3a10844cdf1 refrence : migrate tf1->tf2 |
@https://github.com/wisonwang, Was this merged already? Does a package exist? related to: #163 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, just installed the tensorrec package, tried to run the script, i got the error: if tf.get_default_session() is not None:
AttributeError: module 'tensorflow' has no attribute 'get_default_session' , in
session_managment
file, searched online, couldn't find anything, just posted here, wondering if i can please get some help.. python version: 3.7.8, tensorflow: 2.2.0, tensorrec: 0.26.2, Keras: 2.1.4 thank you so muchThe text was updated successfully, but these errors were encountered: