Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. model = keras.models.Sequential()
  2.  
  3. model.add(Conv2D(32, kernel_size=5, strides=2, activation='relu', input_shape=(268, 182, 3)))
  4. model.add(Conv2D(64, kernel_size=3, strides=1, activation='relu'))
  5.  
  6. model.add(Dense(128, activation='relu'))
  7. model.add(Dense(8, activation='softmax')) # Final Layer using Softmax
  8.  
  9. model.compile(loss='categorical_crossentropy', optimizer='adam', metrics=['accuracy'])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement