-
-
Save quantra-go-algo/2192ba6e24ebb416a0f55ee28a31a488 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compile and train the model | |
model.compile(optimizer='adam', | |
loss='sparse_categorical_crossentropy', | |
metrics=['accuracy']) | |
model.fit(X_train, y_train, epochs=10, batch_size=32) | |
# Use the trained model to make predictions on new images | |
predictions = model.predict(X_test) | |
model.fit(X_train, y_train, epochs=10, batch_size=32) | |
# Use the trained model to make predictions on new images | |
predictions = model.predict(X_test) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment