deepfacelab中文网

 找回密码
 立即注册(仅限QQ邮箱)
查看: 2786|回复: 19

新开源 免训练 一张图就可以换视频

[复制链接]

8

主题

115

帖子

3806

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
3806
 楼主| 发表于 2023-5-30 16:51:06 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
本帖最后由 xiaoxin 于 2023-5-30 19:16 编辑

image.png
image.png


作者的开源模型是128*128的,所以脸部比较模糊,刚开源所以效果会越来越好的。

https://github.com/s0md3v/roop


回复

使用道具 举报

20

主题

499

帖子

5万

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
51969

真我风采勋章

发表于 2023-5-30 17:22:31 | 显示全部楼层
测试了,可以运行,效果不太满意
回复 支持 1 反对 0

使用道具 举报

20

主题

499

帖子

5万

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
51969

真我风采勋章

发表于 2023-5-30 17:39:06 | 显示全部楼层
4G显存笔记本可以用,不过cpu和gpu都爆满
回复 支持 反对

使用道具 举报

0

主题

31

帖子

1684

积分

初级丹圣

Rank: 8Rank: 8

积分
1684
发表于 2023-5-30 17:52:49 | 显示全部楼层
fanda 发表于 2023-5-30 17:39
4G显存笔记本可以用,不过cpu和gpu都爆满

效果怎麼樣
回复 支持 反对

使用道具 举报

8

主题

115

帖子

3806

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
3806
 楼主| 发表于 2023-5-30 18:31:47 | 显示全部楼层

脸部有点糊,我觉得效果可以,作者没有开源更高的模型。
回复 支持 反对

使用道具 举报

13

主题

994

帖子

1万

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
11929
发表于 2023-5-30 18:37:38 | 显示全部楼层
xiaoxin 发表于 2023-5-30 18:31
脸部有点糊,我觉得效果可以,作者没有开源更高的模型。

感觉和小程序里的照片换脸,还是差距有点大啊。小程序里的,应该是给每个视频做过专门优化吧。
回复 支持 反对

使用道具 举报

2

主题

34

帖子

1567

积分

初级丹圣

Rank: 8Rank: 8

积分
1567
发表于 2023-5-30 19:51:23 | 显示全部楼层
记录了
回复

使用道具 举报

0

主题

3

帖子

20

积分

初级丹童

Rank: 1

积分
20
发表于 2023-5-30 19:57:10 | 显示全部楼层

      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for insightface
Failed to build insightface
ERROR: Could not build wheels for insightface, which is required to install pyproject.toml-based projects

这个错误怎么处理啊 ?
回复 支持 反对

使用道具 举报

0

主题

3

帖子

20

积分

初级丹童

Rank: 1

积分
20
发表于 2023-5-30 19:59:10 | 显示全部楼层
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for insightface
Failed to build insightface
ERROR: Could not build wheels for insightface, which is required to install pyproject.toml-based projects
出现这个错误,该怎么处理啊?
回复 支持 反对

使用道具 举报

8

主题

115

帖子

3806

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
3806
 楼主| 发表于 2023-5-30 20:13:34 | 显示全部楼层
lijie207 发表于 2023-5-30 19:59
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tool ...

Installed ffmpeg and added to path(google it) and then installed K-lite codec pack.

Installed my graphics card specific latest CUDA toolkit and CuDNN from NVIDIA website.

Installed Build Tools for Visual Studio 2017 (version 15.9) from https://my.visualstudio.com/Down ... com~older-downloads

Now clone the repo (git clone https://github.com/s0md3v/roop)

cd roop && pip install -r requirements.txt

Downloaded https://drive.google.com/file/d/ ... view?usp=drive_link and kept it in roop directory.

pip uninstall onnxruntime onnxruntime-gpu

Now install torch with cuda (pip install torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118) It will uninstall all previously installed torch stuff before installing it

pip install onnxruntime-gpu

That's all. Now you can run with gpu flag (python run.py --gpu)
回复 支持 反对

使用道具 举报

QQ|Archiver|手机版|deepfacelab中文网 |网站地图

GMT+8, 2024-9-23 20:17 , Processed in 0.102716 second(s), 11 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表