test
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Malte Grosse 2024-05-23 21:35:06 +09:00
parent 78c2e66855
commit 6e2731ea0f
1 changed files with 1 additions and 1 deletions

2
run.py
View File

@ -71,7 +71,7 @@ with tf.device('/GPU:0'):
model.compile(optimizer='SGD', model.compile(optimizer='SGD',
loss='categorical_crossentropy', loss='categorical_crossentropy',
metrics=['accuracy']) metrics=['accuracy'])
model.fit(X_train_scaled, y_train_categorical, epochs=15) model.fit(X_train_scaled, y_train_categorical, epochs=20)
model.save('mymodel.keras') model.save('mymodel.keras')
print("finished training") print("finished training")