Last active
February 3, 2021 01:38
-
-
Save kumarvipu1/90037dee0daa3940b170835ca8b84a93 to your computer and use it in GitHub Desktop.
image classifier part 3
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
def compile_model(model, optimizer='adam', loss='categorical_crossentropy'): | |
model.compile(optimizer=optimizer, loss=loss, metrics=["accuracy"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment