简体   繁体   中英

Talos - import talos - cannot import name 'tf_utils'

I installed talos and it broke my Keras/Tensorflow configuration.

If I run import talos OR import keras

I get:

ImportError: cannot import name 'tf_utils'

When I installed talos it downgraded my Tensorflow to 1.14 and updated Keras to 2.3.
At the same time I have a Tensorflow-GPU 1.8 (which was not changed), and is what I was running from my virtual environment before.

Tensorflow 2.0 with Keras 2.3 为我解决了这个问题

Your problem is the Tensorflow-gpu==1.8 . Replace it with Tensorflow-gpu==1.14 and things will work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM