Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- model.compile(loss='categorical_crossentropy',
- optimizer='adam',
- metrics=['accuracy'])
- history = model.fit(x_train, y_train,
- batch_size=128,
- epochs=10,
- validation_data=(x_val, y_val))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement