deepfacelab中文网

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

DeepFaceLive 执行 WindowsBuilder.py 时拷贝文件递归错误

[复制链接]

1

主题

7

帖子

150

积分

高级丹童

Rank: 2

积分
150
 楼主| 发表于 2022-8-19 14:04:45 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
python WindowsBuilder.py --build-type dfl-windows --release-dir ./release --cache-dir ./cache --backend cuda

最后面开始报错,发现程序要把D:\code\DeepFaceLive拷贝到build\windows\release\_internal\DeepFaceLive目录下,然后就一直递归,最后出现文件名过长。。
D:\code\DeepFaceLive\build\windows\release\_internal\DeepFaceLive\release

Installing ffmpeg binaries.
Downloading https://github.com/GyanD/codexff ... -4.4-full_build.zip
Using cached D:\code\DeepFaceLive\build\windows\cache\_dl_cache\ffmpeg-4.4-full_build.zip
Moving CUDA dlls from Torch to shared directory
Copying DeepFaceLive repository.
Traceback (most recent call last):
  File "WindowsBuilder.py", line 567, in <module>
    backend=args.backend)
  File "WindowsBuilder.py", line 512, in build_deepfacelive_windows
    builder.copyfiletree(Path(__file__).parent.parent.parent, deepfacelive_path)
  File "WindowsBuilder.py", line 67, in copyfiletree
    shutil.copytree(src, dst)
  File "C:\Users\admin\Anaconda3\envs\cuda-vv\lib\shutil.py", line 359, in copytree
    raise Error(errors)
shutil.Error: [('.\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\cache\\_pip_cache\\http\\0\\4\\1\\8\\c\\0418c83b80f7f7bfaec2738bfbbee53d2c1562196c0781702f6eddc8', 'D:\\code\\DeepFaceLive\\build\\windows\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\cache\\_pip_cache\\http\\0\\4\\1\\8\\c\\0418c83b80f7f7bfaec2738bfbbee53d2c1562196c0781702f6eddc8', "[Errno 2] No such file or directory: 'D:\\\\code\\\\DeepFaceLive\\\\build\\\\windows\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\cache\\\\_pip_cache\\\\http\\\\0\\\\4\\\\1\\\\8\\\\c\\\\0418c83b80f7f7bfaec2738bfbbee53d2c1562196c0781702f6eddc8'"), ('.\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\cache\\_pip_cache\\http\\1\\0\\e\\f\\e\\10efec4186202aa8b74a5e6606584f6d3aa20a095ead03b88ffbbb52', 'D:\\code\\DeepFaceLive\\build\\windows\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\cache\\_pip_cache\\http\\1\\0\\e\\f\\e\\10efec4186202aa8b74a5e6606584f6d3aa20a095ead03b88ffbbb52', "[Errno 2] No such file or directory: 'D:\\\\code\\\\DeepFaceLive\\\\build\\\\windows\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\cache\\\\_pip_cache\\\\http\\\\1\\\\0\\\\e\\\\f\\\\e\\\\10efec4186202aa8b74a5e6606584f6d3aa20a095ead03b88ffbbb52'"), 。。。。。。。。。

('.\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive', 'D:\\code\\DeepFaceLive\\build\\windows\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive\\release\\_internal\\DeepFaceLive', "[WinError 206] 文件名或扩展名太长。: 'D:\\\\code\\\\DeepFaceLive\\\\build\\\\windows\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive\\\\release\\\\_internal\\\\DeepFaceLive'")]
回复

使用道具 举报

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

GMT+8, 2024-11-11 18:26 , Processed in 0.120505 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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