                                        "output the frames at source dimensions. 50%% at half size "
                                        "200%% at double size"})
          argument_list.append({"opts": ("-g", "--gpus"),
                                "type": int,
                                "action": Slider,
                                "min_max": (1, 10),
                                "rounding": 1,
                                "default": 1,
 
</s> remove         # queue_manager.debug_monitor(3)
        self.convert_images()
        self.disk_io.save_thread.join()
        queue_manager.terminate_queues()

        Utils.finalize(self.images.images_found,
                       self.predictor.faces_count,
                       self.predictor.verify_output)
        logger.debug("Completed Conversion")
 </s> add         queue_manager.debug_monitor(5)
        try:
            self.convert_images()
            self.disk_io.save_thread.join()
            queue_manager.terminate_queues()

            Utils.finalize(self.images.images_found,
                           self.predictor.faces_count,
                           self.predictor.verify_output)
            logger.debug("Completed Conversion")
        except MemoryError as err:
            msg = ("Faceswap ran out of RAM running convert. Conversion is very system RAM "
                   "heavy, so this can happen in certain circumstances when you have a lot of "
                   "cpus but not enough RAM to support them all."
                   "\nYou should lower the number of processes in use by either setting the "
                   "'singleprocess' flag (-sp) or lowering the number of parallel jobs (-j).")
            raise FaceswapError(msg) from err </s> remove             retval = total_cpus() * 2
 </s> add             retval = 32 </s> remove             retval = 2
 </s> add             retval = 16 </s> remove         """ Set q-size to double number of cpus available """
 </s> add         """ Set 16 for singleprocess otherwise 32 """
        argument_list.append({"opts": ("-j", "--jobs"),
                              "dest": "jobs",
                              "action": Slider,
                              "type": int,
                              "default": 0,
                              "min_max": (0, 40),
                              "rounding": 1,
                              "help": "The maximum number of parallel processes for performing "
                                      "conversion. Converting images is system RAM heavy so it is "
                                      "possible to run out of memory if you have a lot of "
                                      "processes and not enough RAM to accomodate them all. "
                                      "Setting this to 0 will use the maximum available. No "
                                      "matter what you set this to, it will never attempt to use "
                                      "more processes than are available on your system. If "
                                      "singleprocess is enabled this setting will be ignored."})
                                        "output the frames at source dimensions. 50%% at half size "
                                        "200%% at double size"})
        argument_list.append({"opts": ("-j", "--jobs"),
                              "dest": "jobs",
                              "action": Slider,
                              "type": int,
                              "default": 0,
                              "min_max": (0, 40),
                              "rounding": 1,
                              "help": "The maximum number of parallel processes for performing "
                                      "conversion. Converting images is system RAM heavy so it is "
                                      "possible to run out of memory if you have a lot of "
                                      "processes and not enough RAM to accomodate them all. "
                                      "Setting this to 0 will use the maximum available. No "
                                      "matter what you set this to, it will never attempt to use "
                                      "more processes than are available on your system. If "
                                      "singleprocess is enabled this setting will be ignored."})
          argument_list.append({"opts": ("-g", "--gpus"),
                                "type": int,
                                "action": Slider,
                                "min_max": (1, 10),
                                "rounding": 1,
                                "default": 1,
keep add keep keep keep keep keep keep
 Add jobs parameter to convert for limiting parallel processes 
lib/cli.py