问题1:
ValueError: Unknown activation function:relu6
解决方案:
keras2.1:
model = load_model(model_path, custom_objects={'relu6': keras.applications.mobilenet.relu6,'DepthwiseConv2D': keras.applications.mobilenet.DepthwiseConv2D})
keras2.2
model = load_model(model_path, custom_objects={'relu6': keras.layers.ReLU(6.), 'DepthwiseConv2D': keras.layers.DepthwiseConv2D})