          return retval
  
      def get(self):
          """ Check the model exists, if not, download and unzip into location """
          if self._model_exists:
              logger.debug("Model exists: %s", self._model_path)
 
</s> remove     def get_model(model_filename):
 </s> add     def get_model(git_model_id, model_filename): </s> remove     def get_model(model_filename):
 </s> add     def get_model(git_model_id, model_filename): </s> remove         tag = "v{}.{}.{}".format(self._url_section, self._model_id, self._model_version)
 </s> add         tag = "v{}.{}.{}".format(self._url_section, self.git_model_id, self._model_version) </s> remove     def write_zipfile(self, response):
 </s> add     def write_zipfile(self, response, downloaded_size): </s> remove                     logger.info("You can manually download the model from: %s and unzip the "
                                "contents to: %s", self._url_download, self.cache_dir)
 </s> add                     logger.info("You can try running again to resume the download.")
                    logger.info("Alternatively, you can manually download the model from: %s and "
                                "unzip the contents to: %s", self._url_download, self.cache_dir)
    @property
    def _url_partial_size(self):
        """ Return how many bytes have already been downloaded """
        zip_file = self._model_zip_path
        retval = os.path.getsize(zip_file) if os.path.exists(zip_file) else 0
        logger.trace(retval)
        return retval

          return retval
  
    @property
    def _url_partial_size(self):
        """ Return how many bytes have already been downloaded """
        zip_file = self._model_zip_path
        retval = os.path.getsize(zip_file) if os.path.exists(zip_file) else 0
        logger.trace(retval)
        return retval

      def get(self):
          """ Check the model exists, if not, download and unzip into location """
          if self._model_exists:
              logger.debug("Model exists: %s", self._model_path)
keep add 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