ttt icon indicating copy to clipboard operation
ttt copied to clipboard

Demo colab notebook error: "cannot import name 'get_config' from 'tensorflow.python.eager.contex'"

Open kofboy2000 opened this issue 4 years ago • 1 comments

The error occured as below when I tried ttt demo notebook at Colab and execute the [ttt import *] cell.


/usr/local/lib/python3.7/dist-packages/keras/backend.py in () 35 from tensorflow.python.distribute import distribute_coordinator as dc 36 from tensorflow.python.distribute import distribute_coordinator_context as dc_context ---> 37 from tensorflow.python.eager.context import get_config 38 from tensorflow.python.framework import config 39 from keras import backend_config

ImportError: cannot import name 'get_config' from 'tensorflow.python.eager.context' (/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/context.py)

kofboy2000 avatar Aug 01 '21 04:08 kofboy2000

got the same error. I tried importing different tf version and didn't work

jakeazcona avatar Dec 06 '21 23:12 jakeazcona