Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created Nov 24, 2020
Embed
What would you like to do?
model.compile(optimizer=Adam(lr=0.0001),loss='categorical_crossentropy',metrics=['accuracy'])
batch_size=32
epochs=64
history = model.fit_generator(datagen.flow(X_train,y_train, batch_size=batch_size),
epochs = epochs,
validation_data = (X_test,y_test),
verbose = 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment