2nd
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Malte Grosse 2023-11-30 20:36:57 +09:00
parent 547aca11bf
commit cb1b4c6da1
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=10000) model.fit(X_train_scaled, y_train_categorical, epochs=100)
model.save('mymodel.keras') model.save('mymodel.keras')
print("finished training") print("finished training")