          self.model_filename = model_filename
          self.cache_dir = cache_dir
          self.url_base = "https://github.com/deepfakes-models/faceswap-models/releases/download"
          self.chunk_size = 1024  # Chunk size for downloading and unzipping
  
          self.get()
          self.model_path = self._model_path
  
      @property
      def _model_id(self):
 
</s> remove     def __init__(self, model_filename, cache_dir):
 </s> add     def __init__(self, model_filename, cache_dir, git_model_id): </s> remove     @property
    def _model_id(self):
        """ Return a mapping of model names to model ids as stored in github """
        ids = {
            # EXTRACT (SECTION 1)
            "face-alignment-network_2d4": 0,
            "cnn-facial-landmark": 1,
            "mtcnn_det": 2,
            "s3fd": 3,
            "resnet_ssd": 4,
            # TRAIN (SECTION 2)
            # CONVERT (SECTION 3)
            }
        return ids[self._model_name]

 </s> add  </s> remove         self.model_path = self.get_model(model_filename)
 </s> add         self.model_path = self.get_model(git_model_id, model_filename) </s> remove         super().__init__(model_filename=model_filename, **kwargs)
 </s> add         super().__init__(git_model_id=git_model_id, model_filename=model_filename, **kwargs)
        self.retries = 6
          self.model_filename = model_filename
          self.cache_dir = cache_dir
          self.url_base = "https://github.com/deepfakes-models/faceswap-models/releases/download"
          self.chunk_size = 1024  # Chunk size for downloading and unzipping
        self.retries = 6
          self.get()
          self.model_path = self._model_path
  
      @property
      def _model_id(self):
keep keep keep keep replace keep keep keep keep keep
 Face filter vgg face (#724)

* Implement extraction pipeline

* Face filter to vgg_face. Resume partial model downloads

* On-the-fly conversion to extraction pipeline

* Move git model ids from get_model to model definition 
lib/utils.py