Loading a model Raise ValueError Unknown loss function
问题 this is the code after i try to save and load my model: model.save('path_to_my_model.h5') del model model = tf.keras.models.load_model('path_to_my_model.h5', custom_objects={'Wraparound2D': Wraparound2D}) import tensorflow.keras.backend as K inp = model.input # input placeholder outputs = [layer.output for layer in model.layers] # all layer outputs functor = K.function(inp, outputs) # evaluation function layer_outs = functor([X_test, 1.]) # Plot activations of different neurons in different