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

This commit is contained in:
Malte Grosse 2024-04-11 16:07:42 +09:00
parent b966a664aa
commit b3fdc6dcf6
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=50000) model.fit(X_train_scaled, y_train_categorical, epochs=50)
model.save('mymodel.keras') model.save('mymodel.keras')
print("finished training") print("finished training")