          self.batchsize = self.config["batch-size"]
          self.kwargs = self.validate_kwargs()
          self.color_format = "RGB"
  
      def validate_kwargs(self):
          """ Validate that config options are correct. If not reset to default """
          valid = True
          threshold = [self.config["threshold_1"],
                       self.config["threshold_2"],
                       self.config["threshold_3"]]
 
</s> remove         self.kwargs = self.validate_kwargs()
 </s> add         self.kwargs = self._validate_kwargs() </s> remove         self.vram = 320
        self.vram_warnings = 64  # Will run at this with warnings
        self.vram_per_batch = 32
 </s> add         self.vram = 320 if not self.config["cpu"] else 0
        self.vram_warnings = 64 if not self.config["cpu"] else 0  # Will run at this with warnings
        self.vram_per_batch = 32 if not self.config["cpu"] else 0 </s> remove                   "factor": self.config["scalefactor"]}
 </s> add                   "factor": self.config["scalefactor"],
                  "input_size": self.input_size} </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 = {}
    def _validate_kwargs(self) -> Dict[str, Union[int, float, List[float]]]:
          self.batchsize = self.config["batch-size"]
          self.kwargs = self.validate_kwargs()
          self.color_format = "RGB"
  
    def _validate_kwargs(self) -> Dict[str, Union[int, float, List[float]]]:
          """ Validate that config options are correct. If not reset to default """
          valid = True
          threshold = [self.config["threshold_1"],
                       self.config["threshold_2"],
                       self.config["threshold_3"]]
keep keep keep keep 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