donut icon indicating copy to clipboard operation
donut copied to clipboard

AttributeError: module 'tensorflow' has no attribute 'GraphKeys'

Open Anaisdg opened this issue 2 years ago • 2 comments

When I try to import donut. I'm using virtualenv. Python 3.11.3. tf 2.14.0.

Anaisdg avatar Oct 04 '23 20:10 Anaisdg

Thank you so much!

Anaisdg avatar Oct 04 '23 20:10 Anaisdg

I have also tried

  • enforcing the use of tf.compat.v1
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
  • TensorFlow == 1.15 and Python 3.7

Anaisdg avatar Oct 04 '23 20:10 Anaisdg