minor fix
This commit is contained in:
parent
e42afc40ed
commit
4fc45ed8ef
@ -47,10 +47,6 @@ def prepare_model():
|
|||||||
# kompilacja
|
# kompilacja
|
||||||
model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
|
model.compile(loss='binary_crossentropy', optimizer='adam', metrics=['accuracy'])
|
||||||
|
|
||||||
# model fit
|
|
||||||
epochs = int(sys.argv[1])
|
|
||||||
batch_size = int(sys.argv[2])
|
|
||||||
|
|
||||||
# trenowanie modelu
|
# trenowanie modelu
|
||||||
model.fit(X_train, y_train, epochs=epochs, batch_size=batch_size, validation_data=(X_test, y_test))
|
model.fit(X_train, y_train, epochs=epochs, batch_size=batch_size, validation_data=(X_test, y_test))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user