diff --git a/lab5/train/train.py b/lab5/train/train.py index 0f3c519..a495381 100644 --- a/lab5/train/train.py +++ b/lab5/train/train.py @@ -17,7 +17,7 @@ Y_valid = X_valid.pop('stabf') Y_valid = pd.get_dummies(Y_valid) model = tensorflow.keras.Sequential([ - layers.Input(shape=(12,)), + layers.InputLayer(shape=(12,)), layers.Dense(32), layers.Dense(16), layers.Dense(2, activation='softmax')