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

This commit is contained in:
Malte Grosse 2024-05-23 19:34:22 +09:00
parent 67f6ecbbb9
commit 6d896e921b
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=50) model.fit(X_train_scaled, y_train_categorical, epochs=10)
model.save('mymodel.keras') model.save('mymodel.keras')
print("finished training") print("finished training")