!git clone https://github.com/FurkanGozukara/roop
%cd roop
#Tested and updated 23 August 2023 commit
#!git checkout da1ef285f1d43bd0cc8b9cdb9a0f80f7ae793a97
!pip install onnxruntime-gpu && pip install -r requirements.txt
!pip install onnxruntime-gpu --upgrade
!apt-get update --yes
!apt install nvidia-cuda-toolkit --yes
!pip install opennsfw2 keras --upgrade
%cd "/content/roop"
!python run.py -s "Your Image Path" -t "Your Video Path" -o "face_changed_video_v2.mp4" --keep-frames --keep-fps --temp-frame-quality 1 --output-video-quality 1 --execution-provider cuda
한번 공부 삼아 이용해보세요!
감사합니다.
While you are at it ~ 하는 김에 영어로 쉽게 말하기 "While you are at…