              is_final = self._extractor.final_pass
              detected_faces = dict()
              self._extractor.launch()
              self._check_thread_error()
              if self._args.singleprocess:
                  phase_desc = self._extractor.phase.title()
              desc = "Running pass {} of {}: {}".format(phase + 1,
                                                        self._extractor.passes,
                                                        phase_desc)
              status_bar = tqdm(self._extractor.detected_faces(),
                                total=self._images.process_count,
 
</s> remove                                                       phase_desc)
 </s> add                                                       ph_desc) </s> remove         phase_desc = "Extraction"
 </s> add  </s> remove     def _total_vram_required(self):
        """ Return vram required for all phases plus the buffer """
        vrams = dict()
 </s> add     def _vram_per_phase(self):
        """ dict: The amount of vram required for each phase in :attr:`_flow`. """
        retval = dict() </s> remove         logger.debug("Running Detection. Phase: '%s'", self.phase)
 </s> add         logger.debug("Running Detection. Phase: '%s'", self._current_phase) </s> remove         if self.passes == 1:
            retval = self._all_plugins
        else:
            retval = [getattr(self, "_{}".format(self.phase))]
 </s> add         retval = []
        for phase in self._current_phase:
            plugin_type, idx = self._get_plugin_type_and_index(phase)
            attr = getattr(self, "_{}".format(plugin_type))
            retval.append(attr[idx] if idx is not None else attr)
            ph_desc = "Extraction" if self._extractor.passes == 1 else self._extractor.phase_text
              is_final = self._extractor.final_pass
              detected_faces = dict()
              self._extractor.launch()
              self._check_thread_error()
            ph_desc = "Extraction" if self._extractor.passes == 1 else self._extractor.phase_text
            ph_desc = "Extraction" if self._extractor.passes == 1 else self._extractor.phase_text
              desc = "Running pass {} of {}: {}".format(phase + 1,
                                                        self._extractor.passes,
                                                        phase_desc)
              status_bar = tqdm(self._extractor.detected_faces(),
                                total=self._images.process_count,
keep keep keep keep replace replace keep keep keep keep keep
 Extract - Better VRAM Allocation in Extraction Pipeline 
scripts/extract.py