Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. import tensorflow as tf
  2. from keras.applications import ResNet50
  3. import keras.backend as K
  4. import tensorflow.keras.backend as J
  5.  
  6. model = ResNet50()
  7. model.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy'])
  8.  
  9. print(K.get_session())
  10. print(J.get_session())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement