Created
August 23, 2021 07:18
-
-
Save siddharthganjoo/ac4c0912c63a4f692e64ea7ee792e9ea 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
#training the model | |
from tensorflow.keras.optimizers import Adam | |
classifier.load_weights("weights") | |
opt3 = Adam(lr=0.001) | |
classifier.compile(optimizer = opt3, loss = 'categorical_crossentropy', metrics = ['accuracy']) | |
history = classifier.fit(x_train, y_train,validation_data=(x_test, y_test), batch_size = 10, epochs = 50) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment