質問: losses.get(loss) File ".../keras/losses.py", line 133, in get return deserialize(identifier) File ".../keras/losses.py", line 114, in deserialize printable_module_name='loss function') File ".../keras/utils/generic_utils.py", line 165, in deserialize_keras_object':' + function_name) ValueError: Unknown loss function:original_loss
回答: load_model('model',custom_objects = {'original_loss': original_loss}で実行できました.