afei 发表于 2025-2-28 15:19:51

Traceback (most recent call last):
File "D:\kuakeDownload\FasterLivePortrait\app.py", line 12, in <module>
    from src.pipelines.gradio_live_portrait_pipeline import GradioLivePortraitPipeline
File "D:\kuakeDownload\FasterLivePortrait\src\pipelines\gradio_live_portrait_pipeline.py", line 17, in <module>
    from .faster_live_portrait_pipeline import FasterLivePortraitPipeline
File "D:\kuakeDownload\FasterLivePortrait\src\pipelines\faster_live_portrait_pipeline.py", line 16, in <module>
    import torch
File "D:\kuakeDownload\FasterLivePortrait\deepface\lib\site-packages\torch\__init__.py", line 148, in <module>
    raise err
OSError: 找不到指定的模块。 Error loading "D:\kuakeDownload\FasterLivePortrait\deepface\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.
请按任意键继续. . .

无言以对 发表于 2025-2-28 15:22:41

afei 发表于 2025-2-28 15:19
Traceback (most recent call last):
File "D:\kuakeDownload\FasterLivePortrait\app.py", line 12, in...
上方导航栏 新手必看
下次类似问题不再回复。

touvidia 发表于 2025-4-1 18:38:07

INFO:albumentations.check_version:A new version of Albumentations is available: 2.0.5 (you have 1.4.13). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
load Human Model >>>
loading model: warping_spade
{'name': 'WarpingSpadeModel', 'predict_type': 'trt', 'model_path': './checkpoints/liveportrait_onnx/warping_spade-fix.trt'}
6: The engine plan file is generated on an incompatible device, expecting compute 8.6 got compute 8.9, please rebuild.
2: Error Code 2: Internal Error (Assertion engine->deserialize(start, size, allocator, runtime) failed. )
Traceback (most recent call last):
File "E:\BaiduNetdiskDownload\FasterLivePortrait\app.py", line 37, in <module>
    gradio_pipeline = GradioLivePortraitPipeline(infer_cfg)
File "E:\BaiduNetdiskDownload\FasterLivePortrait\src\pipelines\gradio_live_portrait_pipeline.py", line 36, in __init__
    super(GradioLivePortraitPipeline, self).__init__(cfg, **kwargs)
File "E:\BaiduNetdiskDownload\FasterLivePortrait\src\pipelines\faster_live_portrait_pipeline.py", line 28, in __init__
    self.init(**kwargs)
File "E:\BaiduNetdiskDownload\FasterLivePortrait\src\pipelines\faster_live_portrait_pipeline.py", line 32, in init
    self.init_models(**kwargs)
File "E:\BaiduNetdiskDownload\FasterLivePortrait\src\pipelines\faster_live_portrait_pipeline.py", line 72, in init_models
    self.model_dict = getattr(models, self.cfg.models["name"])(
File "E:\BaiduNetdiskDownload\FasterLivePortrait\src\models\warping_spade_model.py", line 20, in __init__
    super(WarpingSpadeModel, self).__init__(**kwargs)
File "E:\BaiduNetdiskDownload\FasterLivePortrait\src\models\base_model.py", line 13, in __init__
    self.predictor = get_predictor(**self.kwargs)
File "E:\BaiduNetdiskDownload\FasterLivePortrait\src\models\predictor.py", line 257, in get_predictor
    return TensorRTPredictor(**kwargs)
File "E:\BaiduNetdiskDownload\FasterLivePortrait\src\models\predictor.py", line 61, in __init__
    assert self.engine
AssertionError
Exception ignored in: <function TensorRTPredictor.__del__ at 0x0000021510AB6200>
Traceback (most recent call last):
File "E:\BaiduNetdiskDownload\FasterLivePortrait\src\models\predictor.py", line 167, in __del__
    del self.context
AttributeError: context
Exception ignored in: <function BaseModel.__del__ at 0x0000021510AB6830>
Traceback (most recent call last):
File "E:\BaiduNetdiskDownload\FasterLivePortrait\src\models\base_model.py", line 48, in __del__
    if self.predictor is not None:
AttributeError: 'WarpingSpadeModel' object has no attribute 'predictor'
请按任意键继续. . .

报错信息的一开始似乎提示我升级什么东西,我用pip install -U albumentations操作过了,但还是报错。
我是3060的显卡。

liyo 发表于 2025-4-24 21:34:39

2080ti运行不了,AttributeError: 'WarpingSpadeModel' object has no attribute 'predictor'

无言以对 发表于 2025-4-24 21:42:44

liyo 发表于 2025-4-24 21:34
2080ti运行不了,AttributeError: 'WarpingSpadeModel' object has no attribute 'predictor'

20系好像用不了,不支持tensorrt

无言以对 发表于 2025-4-24 21:44:12

touvidia 发表于 2025-4-1 18:38
INFO:albumentations.check_version:A new version of Albumentations is available: 2.0.5 (you have 1.4. ...

可能需要你自己手动将onnx转换成trt模型,我是在40系卡下转换的,测试4060,4090都是没问题的
下次更新会把模型转换批处理放进去,手动转换下应该可以了

touvidia 发表于 2025-4-27 22:26:05

无言以对 发表于 2025-4-24 21:44
可能需要你自己手动将onnx转换成trt模型,我是在40系卡下转换的,测试4060,4090都是没问题的
下次更新会 ...

能否指教一下,怎么改?你说的这个我完全没概念,哈哈哈。
页: 1 [2]
查看完整版本: FasterLivePortrait - 实时肖像动画,一张照片生成生动视频、表情包,精准操控五官 本地一键整合包下载