mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2024-03-22 13:10:55 +08:00
Merger: now uses all available CPU cores ( before max 6 )
so the more processors, the faster the process will be.
This commit is contained in:
parent
9c07983c68
commit
054a7e0e6e
|
@ -219,7 +219,7 @@ class MergeSubprocessor(Subprocessor):
|
|||
self.output_mask_path = output_mask_path
|
||||
self.model_iter = model_iter
|
||||
|
||||
self.prefetch_frame_count = self.process_count = min(6,multiprocessing.cpu_count())
|
||||
self.prefetch_frame_count = self.process_count = multiprocessing.cpu_count()
|
||||
|
||||
session_data = None
|
||||
if self.is_interactive and self.merger_session_filepath.exists():
|
||||
|
|
Loading…
Reference in New Issue
Block a user