[Python] Error: import tensorflow.keras.backend as K could not be resolved...

Discussão em 'Python' iniciado por Stack, Junho 3, 2025.

  1. Stack

    Stack Membro Participativo

    I'm using tensorflow 1.15.0 in docker container and have issue in importing keras sub-modules.

    from tensorflow import keras
    import tensorflow.keras.backend as K
    from tensorflow.keras.optimizers import Adam, SGD


    Both backend and Adam, SGD cannot be imported.

    Any solutions for this ?

    Continue reading...

Compartilhe esta Página