Advertisement
Guest User

Untitled

a guest
Dec 18th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1.  
  2. model = tf.keras.applications.xception.Xception(input_shape=X_val.shape[1:], weights=None, include_top=True, classes=6)
  3. opt = tf.keras.optimizers.Adam(lr=LR, decay=1e-3)
  4. model.compile(loss="categorical_crossentropy",
  5. optimizer=opt,
  6. metrics=['accuracy'])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement