All - Activity - bgold - DeepTalk - Deep Learning Community

Keras fails after upgrade

Since this might be helpful to others, I finally chased down the source of this error. There’s an incompatibility between the lambda-stack versions of tensorflow and Keras, but tensorflow includes its own keras module which can be used instead. So I changed all my imports that originally looked like this:

import keras

to:

from tensorflow import keras

Keras fails after upgrade

Hi, I recently reinstalled everything on a Lambda workstation, to upgrade to Ubuntu 20.04 and installed the latest lambda-stack. But I’ve discovered that my Keras models no longer work, failing with AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike'. Since that...