mirror of
https://github.com/facefusion/facefusion.git
synced 2026-07-22 18:10:58 +02:00
last minute change to frame distribution
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ trim_frame_end =
|
||||
temp_frame_format =
|
||||
keep_temp =
|
||||
|
||||
[frame_process]
|
||||
[frame_distribution]
|
||||
target_frame_amount =
|
||||
|
||||
[output_creation]
|
||||
|
||||
@@ -174,10 +174,10 @@ def create_frame_extraction_program() -> ArgumentParser:
|
||||
return program
|
||||
|
||||
|
||||
def create_frame_process_program() -> ArgumentParser:
|
||||
def create_frame_distribution_program() -> ArgumentParser:
|
||||
program = ArgumentParser(add_help = False)
|
||||
group_frame_process = program.add_argument_group('frame process')
|
||||
group_frame_process.add_argument('--target-frame-amount', help = translator.get('help.target_frame_amount'), type = int, default = config.get_int_value('frame_process', 'target_frame_amount', '5'), choices = facefusion.choices.target_frame_amount_range, metavar = create_int_metavar(facefusion.choices.target_frame_amount_range))
|
||||
group_frame_distribution = program.add_argument_group('frame distribution')
|
||||
group_frame_distribution.add_argument('--target-frame-amount', help = translator.get('help.target_frame_amount'), type = int, default = config.get_int_value('frame_distribution', 'target_frame_amount', '5'), choices = facefusion.choices.target_frame_amount_range, metavar = create_int_metavar(facefusion.choices.target_frame_amount_range))
|
||||
job_store.register_step_keys([ 'target_frame_amount' ])
|
||||
return program
|
||||
|
||||
@@ -300,7 +300,7 @@ def create_step_index_program() -> ArgumentParser:
|
||||
|
||||
|
||||
def collect_step_program() -> ArgumentParser:
|
||||
return ArgumentParser(parents = [ create_face_detector_program(), create_face_landmarker_program(), create_face_selector_program(), create_face_tracker_program(), create_face_masker_program(), create_voice_extractor_program(), create_frame_extraction_program(), create_frame_process_program(), create_output_creation_program(), create_processors_program() ], add_help = False)
|
||||
return ArgumentParser(parents = [ create_face_detector_program(), create_face_landmarker_program(), create_face_selector_program(), create_face_tracker_program(), create_face_masker_program(), create_voice_extractor_program(), create_frame_extraction_program(), create_frame_distribution_program(), create_output_creation_program(), create_processors_program() ], add_help = False)
|
||||
|
||||
|
||||
def collect_job_program() -> ArgumentParser:
|
||||
|
||||
Reference in New Issue
Block a user