We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
😅
错误信息 ImportError:generic_type:type "_gpuDeviceProperties is already registered!
错误截图
我的目标是将torch版本的wav2lip转成 paddle版的wav2lip 代码中就在导入包时就已经报错,具体来说: 有两个py文件(简述:A和B), 其中文件A只有这几行代码: from Wav2Lip import getwav2lipparameter as getwav2lipparameter from x2paddle.convert import pytorch2paddle 其中Wav2Lip是从github上clone下来的一个文件夹,里边就是torch版本的wav2lip相关文件,可以从这里下载:https://github.com/Rudrabha/Wav2Lip.git ,
文件B中的代码只有: from glob import glob import torch from Wav2Lip import face_detection from Wav2Lip.models import Wav2Lip import platform 其他代码我全部都是函数.....不运行 注意,文件B就是上述的 getwav2lipparameter,只不过是我们自己新建的py文件,运行A文件报错! 工程结构见下图:
PS补充:paddle的开发人员@terry 已经帮忙复现这个问题,确认paddle可以正常使用,torch可以正常使用,他的环境是: windows10,paddlepaddle版本:python -m pip install paddlepaddle-gpu==2.6.0 -i https://pypi.tuna.tsinghua.edu.cn/simple ,python=3.8,torch是官网默认最新版(pip直接安装),(cuda)=11.8,X2Paddle最新版(pip直接安装)。
The text was updated successfully, but these errors were encountered:
根据 @jiangjiajun 的建议:
辛苦 @drakitLiu 先做下二分排查,然后我们看如何解决
Sorry, something went wrong.
No branches or pull requests
😅
问题描述
错误信息
ImportError:generic_type:type "_gpuDeviceProperties is already registered!
错误截图
具体信息
我的目标是将torch版本的wav2lip转成 paddle版的wav2lip
代码中就在导入包时就已经报错,具体来说:
有两个py文件(简述:A和B),
其中文件A只有这几行代码:
from Wav2Lip import getwav2lipparameter as getwav2lipparameter
from x2paddle.convert import pytorch2paddle
其中Wav2Lip是从github上clone下来的一个文件夹,里边就是torch版本的wav2lip相关文件,可以从这里下载:https://github.com/Rudrabha/Wav2Lip.git ,
文件B中的代码只有:
from glob import glob
import torch
from Wav2Lip import face_detection
from Wav2Lip.models import Wav2Lip
import platform
其他代码我全部都是函数.....不运行
注意,文件B就是上述的 getwav2lipparameter,只不过是我们自己新建的py文件,运行A文件报错!
工程结构见下图:
Wav2Lip:https://github.com/Rudrabha/Wav2Lip.git
唇形迁移/转换
PaddlePaddle => [python -m pip install paddlepaddle-gpu==2.6.0 -i https://pypi.tuna.tsinghua.edu.cn/simple](python -m pip install paddlepaddle-gpu==2.6.0 -i https://pypi.tuna.tsinghua.edu.cn/simple)
X2Paddle => 1.3.9
来源框架版本(PyTorch/TF/ONNX/Caffe) =>PyTorch
[email protected]
PS补充:paddle的开发人员@terry 已经帮忙复现这个问题,确认paddle可以正常使用,torch可以正常使用,他的环境是:
windows10,paddlepaddle版本:python -m pip install paddlepaddle-gpu==2.6.0 -i
https://pypi.tuna.tsinghua.edu.cn/simple ,python=3.8,torch是官网默认最新版(pip直接安装),(cuda)=11.8,X2Paddle最新版(pip直接安装)。
The text was updated successfully, but these errors were encountered: