          input_shape = self._model.model.input_shape
          input_shape = [input_shape] if not isinstance(input_shape, list) else input_shape
          output_shape = self._model.model.output_shape
          output_shape = [output_shape] if not isinstance(output_shape, list) else output_shape
          retval = dict(input=input_shape[0][1], output=output_shape[-1][1])
          logger.debug(retval)
          return retval
  
      def _load_model(self) -> "ModelBase":
          """ Load the Faceswap model.
 
</s> remove                                   sample_size,
 </s> add                                   self._sample_size, </s> remove         logger.debug("Batchsize: %s", batchsize)
 </s> add 
        retval = {"input": input_shape[0][1], "output": output_shape[-1][1]}
          input_shape = self._model.model.input_shape
          input_shape = [input_shape] if not isinstance(input_shape, list) else input_shape
          output_shape = self._model.model.output_shape
          output_shape = [output_shape] if not isinstance(output_shape, list) else output_shape
        retval = {"input": input_shape[0][1], "output": output_shape[-1][1]}
          logger.debug(retval)
          return retval
  
      def _load_model(self) -> "ModelBase":
          """ Load the Faceswap model.
keep keep keep keep replace keep keep keep keep keep
 bugfix: Preview tool Don't error if too few images 
scripts/convert.py