          return dict(list(base_config.items()) + list(config.items())) 
  
  
  # Update layers into Keras custom objects
  for name, obj in inspect.getmembers(sys.modules[__name__]):
      if inspect.isclass(obj) and obj.__module__ == __name__:
          get_custom_objects().update({name: obj})
 
</s> remove                               "choices": ("CPU", "OPENCL"),
                              "default": "CPU",
                              "help": "Backend to use for VGG Face inference. OpenCL is slightly "
                                      "faster but may not be available on all systems. Only used "
                                      "for sort by 'face'."})
 </s> add                               "choices": ("CPU", "GPU"),
                              "default": "GPU",
                              "help": "Backend to use for VGG Face inference."
                                      "Only used for sort by 'face'."}) </s> remove from lib.vgg_face import VGGFace
 </s> add from lib.vgg_face2_keras import VGGFace2 as VGGFace
class L2_normalize(Layer):
    def __init__(self, axis, **kwargs):
        self.axis = axis
        super(L2_normalize, self).__init__(**kwargs)

    def call(self, x):
        return K.l2_normalize(x, self.axis)

    def get_config(self):
        config = super(L2_normalize, self).get_config()
        config["axis"] = self.axis
        return config



          return dict(list(base_config.items()) + list(config.items())) 
  
  
class L2_normalize(Layer):
    def __init__(self, axis, **kwargs):
        self.axis = axis
        super(L2_normalize, self).__init__(**kwargs)

    def call(self, x):
        return K.l2_normalize(x, self.axis)

    def get_config(self):
        config = super(L2_normalize, self).get_config()
        config["axis"] = self.axis
        return config



  # Update layers into Keras custom objects
  for name, obj in inspect.getmembers(sys.modules[__name__]):
      if inspect.isclass(obj) and obj.__module__ == __name__:
          get_custom_objects().update({name: obj})
keep keep add keep keep keep keep
 Switch to keras version for sort face (#791)

Upgrade to vgg_face2 (keras) to speed up sort by face 
lib/model/layers.py