私的AI研究会 > FaceFusion
1枚の顔画像から動画内の顔を簡単に置き換えることのできる FaceFusion を検証する
(base) nvidia-smi Tue Nov 19 05:22:45 2024 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 555.99 Driver Version: 555.99 CUDA Version: 12.5 | |-----------------------------------------+------------------------+----------------------+ | GPU Name Driver-Model | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================| | 0 NVIDIA GeForce RTX 4070 Ti WDDM | 00000000:01:00.0 On | N/A | | 31% 26C P8 4W / 285W | 1275MiB / 12282MiB | 1% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ :
(base) nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Fri_Nov__3_17:51:05_Pacific_Daylight_Time_2023 Cuda compilation tools, release 12.3, V12.3.103 Build cuda_12.3.r12.3/compiler.33492891_0
(facefusion) conda deactivate (base) conda env remove -n facefusion
(base) conda create -n facefusion python=3.12 -y (base)conda info -e
(base) conda activate facefusion
(facefusion) conda install conda-forge::cuda-runtime=12.4.1 conda-forge::cudnn=9.2.1.18 -y (facefusion) conda install ffmpeg ffmpeg-python -c conda-forge -y (facefusion) pip install tensorrt==10.5.0 --extra-index-url https://pypi.nvidia.com
(facefusion) cd workspace_3 (facefusion) pip install -r req_facefusion.txt
(facefusion) git clone https://github.com/facefusion/facefusion (facefusion) cd facefusion (facefusion) python install.py --onnxruntime default
(facefusion) pip uninstall onnxruntime (facefusion) pip install onnxruntime-gpu
(facefusion) python facefusion.py run
私的AI研究会 > FaceFusion
1枚の顔画像から動画内の顔を簡単に置き換えることのできる FaceFusion を検証する
(base) nvidia-smi Tue Nov 19 05:22:45 2024 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 555.99 Driver Version: 555.99 CUDA Version: 12.5 | |-----------------------------------------+------------------------+----------------------+ | GPU Name Driver-Model | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================| | 0 NVIDIA GeForce RTX 4070 Ti WDDM | 00000000:01:00.0 On | N/A | | 31% 26C P8 4W / 285W | 1275MiB / 12282MiB | 1% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ :
(base) nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Fri_Nov__3_17:51:05_Pacific_Daylight_Time_2023 Cuda compilation tools, release 12.3, V12.3.103 Build cuda_12.3.r12.3/compiler.33492891_0
(facefusion) conda deactivate (base) conda env remove -n facefusion
(base) conda create -n facefusion python=3.12 -y (base)conda info -e
(base) conda activate facefusion
(facefusion) conda install conda-forge::cuda-runtime=12.4.1 conda-forge::cudnn=9.2.1.18 -y (facefusion) conda install ffmpeg ffmpeg-python -c conda-forge -y (facefusion) pip install tensorrt==10.5.0 --extra-index-url https://pypi.nvidia.com
(facefusion) cd workspace_3 (facefusion) pip install -r req_facefusion.txt
(facefusion) git clone https://github.com/facefusion/facefusion (facefusion) cd facefusion (facefusion) python install.py --onnxruntime default
(facefusion) pip uninstall onnxruntime (facefusion) pip install onnxruntime-gpu
(facefusion) python facefusion.py run