Guest User

Untitled

a guest
Jul 6th, 2021
1,683
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. REM Подготовка
  2.  
  3. conda create -n simswap python=3.6
  4. conda activate simswap
  5. conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cpuonly -c pytorch
  6. pip install --ignore-installed imageio
  7. pip install insightface==0.2.1 onnxruntime moviepy
  8.  
  9. REM Потом
  10.  
  11. REM Указывайте ваш путь к папке Sim Swap и диск
  12. cd D:\SimSwap-main
  13. D:
  14. conda activate simswap
  15. python test_video_swapsingle.py --isTrain false  --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path ./demo_file/pexels-andrea-piacquadio.jpg --video_path ./demo_file/pexels-polina-tankilevitch.mp4 --output_path ./output/pexels-polina-tankilevitch_swapsingle.mp4 --temp_path ./temp_results
RAW Paste Data