How to use face_enchancer? #433
Unanswered
FrederikVerscheure
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can use the face_swapper, works fine
python run.py --source fred.jpg --target test.mp4 --output output_fred.mp4 --video-quality 0 --keep-fps --keep-audio --frame-processor face_swapper --execution-provider cuda --execution-threads 16 --max-memory 16
But i get stuck on the face-enchancer.
python run.py --source fred.jpg --target output_fred.mp4 --output output_fred_enchanced.mp4 --keep-fps --keep-audio --frame-processor face_enhancer --execution-provider cuda --execution-threads 16 --max-memory 16
These are my commandlines. is this correct to use the output mp4 from face_swapper as target?
the process starts, but after a while it just hangs whit this find model line
Applied providers: ['CUDAExecutionProvider', 'CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}, 'CUDAExecutionProvider': {'tunable_op_max_tuning_duration_ms': '0', 'enable_skip_layer_norm_strict_mode': '0', 'tunable_op_tuning_enable': '0', 'device_id': '0', 'has_user_compute_stream': '0', 'gpu_mem_limit': '18446744073709551615', 'gpu_external_alloc': '0', 'gpu_external_free': '0', 'gpu_external_empty_cache': '0', 'cudnn_conv_algo_search': 'EXHAUSTIVE', 'cudnn_conv1d_pad_to_nc1d': '0', 'arena_extend_strategy': 'kNextPowerOfTwo', 'do_copy_in_default_stream': '1', 'enable_cuda_graph': '0', 'cudnn_conv_use_max_workspace': '1', 'tunable_op_enable': '0'}}
find model: /root/.insightface/models/buffalo_l/1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
find model: /root/.insightface/models/buffalo_l/1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
find model: /root/.insightface/models/buffalo_l/1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
find model: /root/.insightface/models/buffalo_l/1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
Beta Was this translation helpful? Give feedback.
All reactions