新一代视频换脸神器:roop安装与使用教程。无需数据集与训练,免费开源。
无需数据集与训练,免费开源免费开源工具roop,使用cpu和gpu运行时2种安装方法。colab上运行使用方法。与faceswap不同,roop更简单易用,无需数据集,不用训练,真正一键操作。
roop项目地圵:https://github.com/s0md3v/roop
python下载:https://www.python.org/downloads/
github桌面程序:https://desktop.github.com/
第一部分:使用CPU运行安装方法
1、下载配置FFmpeg:https://www.gyan.dev/ffmpeg/builds/
2、配置本机C++编译环境,下载Visual Studio 2022
或者下载安装Microsoft C++ 生成工具:
https://visualstudio.microsoft.com/zh...
3、github桌面程序克隆项目:https://github.com/s0md3v/roop.git
或者用git指令:git clone https://github.com/s0md3v/roop
4、安装依赖包
CD 循环
pip install -r requirements.txt
5、下载inswapper_128.onnx文件,并放到roop目录下
https://drive.google.com/u/0/uc?id=1e...
第二部分:使用GPU运行安装方法
1、下载安装CUDA:https://developer.nvidia.com/cuda-11-...
2、下载安装CUDNN :https://developer.nvidia.com/rdp/cudn...
3、如果最终程序无法运行,可能需要打补丁:
https://huggingface.co/MonsterMMORPG/...
4、按顺序执行以下安装
pip uninstall onnxruntime onnxruntime-gpu
pip 安装 torch torchvision torchaudio --force-reinstall --index-url https://download.pytorch.org/whl/cu118
pip 安装 onnxruntime-gpu
第三部分:google colab上运行安装方法
https://colab.research.google.com/drive/1GQ_6Sc2ipDMEX2EHsUW_ALXXrJ12yICJ?usp=sharing
https://youtube.com/@aidiscovery
如果你想使用最新版本删除!git checkout e4f1d9aaff43549667f7c81c6f48a86606fb9b95
本期内容来源于:AI探索与发现



发表评论
0 评论