Guest User

Untitled

a guest
Jun 18th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. class_model = load_model(model_path)
  2.  
  3. def classfication_error(self, y_true, y_pred):
  4. y_pred = class_model.predict(y_pred)
  5. return keras.losses.categorical_crossentropy(y_true, y_pred)
  6.  
  7. ValueError: When feeding symbolic tensors to a model, we expect thetensors to have a static batch size. Got tensor with shape: (None, 32, 32, 3)
Add Comment
Please, Sign In to add comment