Page 1 of 1

Deeplearning mit Python Tensorflow, Keras

Posted: 14 Jan 2025, 11:58
by Guest
Ich schreibe gerade eine Masterarbeit über Deep Learning und habe wahrscheinlich ein Problem mit der Bibliothek.
Unten ist der Fehler:

Code: Select all

AttributeError: module 'tensorflow.compat.v2' has no attribute '__internal__'
Modell:

Code: Select all

import tensorflow
from tensorflow import  keras
from keras import models
from keras import layers
model = models.Sequential()
model.add(layers.Dense(32, input_shape=(784,)))
model.add(layers.Dense(32))