Skip to content Skip to sidebar Skip to footer

How To Fix Attributeerror: Module 'tensorflow' Has No Attribute 'reset_default_graph'

I'm trying to build an ai based chatbot based on a tutorial, they're using python 3.5 and tensorflow 1.0.0. I have crossed checked everything, my virtual environment is running fr

Solution 1:

I solved the issue. from next time, I'll try to post questions in a cleaner way, Sorry. I fixed the issue by deactivating and reactivating the virtual env and then running the command pip install --user tensorflow=1.0.0 and also pip3 install --user tensorflow=1.0.0 and then that attribute error related to tf.reset_default_graph() session = tf.InteractiveSession() was solved.


Post a Comment for "How To Fix Attributeerror: Module 'tensorflow' Has No Attribute 'reset_default_graph'"