      from tensorflow.keras.layers import Conv2D, Dense, Flatten, Input, MaxPool2D, Permute, PReLU  # noqa pylint:disable=no-name-in-module,import-error
  
  
  class Detect(Detector):
      """ MTCNN detector for face recognition """
      def __init__(self, **kwargs):
          git_model_id = 2
          model_filename = ["mtcnn_det_v2.1.h5", "mtcnn_det_v2.2.h5", "mtcnn_det_v2.3.h5"]
          super().__init__(git_model_id=git_model_id, model_filename=model_filename, **kwargs)
          self.name = "MTCNN"
          self.input_size = 640
 
</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         """ Keras R-Network for MTCNN """
 </s> add         """ Keras R-Network Definition for MTCNN """ </s> remove         """ Keras P-Network for MTCNN """
 </s> add         """ Keras P-Network Definition for MTCNN """
    """ MTCNN detector for face recognition. """
    def __init__(self, **kwargs) -> None:
      from tensorflow.keras.layers import Conv2D, Dense, Flatten, Input, MaxPool2D, Permute, PReLU  # noqa pylint:disable=no-name-in-module,import-error
  
  
  class Detect(Detector):
    """ MTCNN detector for face recognition. """
    def __init__(self, **kwargs) -> None:
    """ MTCNN detector for face recognition. """
    def __init__(self, **kwargs) -> None:
          git_model_id = 2
          model_filename = ["mtcnn_det_v2.1.h5", "mtcnn_det_v2.2.h5", "mtcnn_det_v2.3.h5"]
          super().__init__(git_model_id=git_model_id, model_filename=model_filename, **kwargs)
          self.name = "MTCNN"
          self.input_size = 640
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