              logger.warning("Invalid MTCNN options in config. Running with defaults")
          logger.debug("Using mtcnn kwargs: %s", kwargs)
          return kwargs
  
      def init_model(self):
          """ Initialize S3FD Model"""
          self.model = MTCNN(self.model_path,
                             self.config["allow_growth"],
                             self._exclude_gpus,
                             **self.kwargs)
  
 
</s> remove             kwargs = {"minsize": 20,  # minimum size of face
                      "threshold": [0.6, 0.7, 0.7],  # three steps threshold
                      "factor": 0.709}               # scale factor
 </s> add             kwargs = {} </s> remove     def process_input(self, batch):
        """ Compile the detection image(s) for prediction """
 </s> add     def process_input(self, batch: dict) -> dict:
        """ Compile the detection image(s) for prediction

        Parameters
        ----------
        batch: dict
            Contains the batch that is currently being passed through the plugin process

        Returns
        -------
        dict
            The batch with input processed

        """ </s> remove         self.kwargs = self.validate_kwargs()
 </s> add         self.kwargs = self._validate_kwargs() </s> remove     def predict(self, batch):
        """ Run model to get predictions """
 </s> add     def predict(self, batch: dict) -> dict:
        """ Run model to get predictions

        Parameters
        ----------
        batch: dict
            Contains the batch to pass through the MTCNN model

        Returns
        -------
        dict
            The batch with the predictions added to the dictionary
        """
    def init_model(self) -> None:
        """ Initialize MTCNN Model. """
              logger.warning("Invalid MTCNN options in config. Running with defaults")
          logger.debug("Using mtcnn kwargs: %s", kwargs)
          return kwargs
  
    def init_model(self) -> None:
        """ Initialize MTCNN Model. """
    def init_model(self) -> None:
        """ Initialize MTCNN Model. """
          self.model = MTCNN(self.model_path,
                             self.config["allow_growth"],
                             self._exclude_gpus,
                             **self.kwargs)
  
keep keep keep keep replace replace keep keep keep keep keep
 Add CPU option to BiSeNet and MTCNN
  - Add CPU option to KSession
  - MTCNN optimizations
  - Update docs for bisenet + mtcnn 
plugins/extract/detect/mtcnn.py