You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone. I have ubuntu server installed, human app works fine, but animal is not. What i did:
cd src/utils/dependencies/XPose/models/UniPose/ops
python setup.py build install
cd - # equal to cd ../../../../../../../
When i run python app_animals.py --share --server_name 192.168.1.140 i got:
(LivePortrait) sdai@virtual:~/LivePortrait$ python app_animals.py --share --server_name 192.168.1.140 [02:28:50] Load appearance_feature_extractor from live_portrait_wrapper.py:361
/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/pretrained_weights/liveportrait_animals/base_models/appearance_feature_extractor.pth done.
Load motion_extractor from /mnt/2tb_kingston_nvme/home/sdai/LivePortrait/pretrained_weights/liveportrait_animals/base_models/motion_extractor.pth done. live_portrait_wrapper.py:364
Load warping_module from /mnt/2tb_kingston_nvme/home/sdai/LivePortrait/pretrained_weights/liveportrait_animals/base_models/warping_module.pth done. live_portrait_wrapper.py:367
Load spade_generator from /mnt/2tb_kingston_nvme/home/sdai/LivePortrait/pretrained_weights/liveportrait_animals/base_models/spade_generator.pth done. live_portrait_wrapper.py:370
Load stitching_retargeting_module from live_portrait_wrapper.py:374
/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/pretrained_weights/liveportrait/retargeting_models/stitching_retargeting_module.pth done.
[02:28:51] FaceAnalysisDIY warmup time: 0.656s face_analysis_diy.py:79
[02:28:52] LandmarkRunner warmup time: 0.354s human_landmark_runner.py:95
Traceback (most recent call last):
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/app_animals.py", line 47, in <module>
gradio_pipeline_animal: GradioPipelineAnimal = GradioPipelineAnimal(
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/gradio_pipeline.py", line 601, in __init__
super().__init__(inference_cfg, crop_cfg)
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/live_portrait_pipeline_animal.py", line 42, in __init__
self.cropper: Cropper = Cropper(crop_cfg=crop_cfg, image_type='animal_face', flag_use_half_precision=inference_cfg.flag_use_half_precision)
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/utils/cropper.py", line 79, in __init__
from .animal_landmark_runner import XPoseRunner as AnimalLandmarkRunner
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/utils/animal_landmark_runner.py", line 19, in <module>
from .dependencies.XPose.models import build_model
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/utils/dependencies/XPose/models/__init__.py", line 7, in <module>
from .UniPose.unipose import build_unipose
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/utils/dependencies/XPose/models/UniPose/__init__.py", line 10, in <module>
from .unipose import build_unipose
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/utils/dependencies/XPose/models/UniPose/unipose.py", line 23, in <module>
from .deformable_transformer import build_deformable_transformer
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/utils/dependencies/XPose/models/UniPose/deformable_transformer.py", line 30, in <module>
from .ops.modules import MSDeformAttn
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/utils/dependencies/XPose/models/UniPose/ops/modules/__init__.py", line 9, in <module>
from .ms_deform_attn import MSDeformAttn
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/utils/dependencies/XPose/models/UniPose/ops/modules/ms_deform_attn.py", line 23, in <module>
from src.utils.dependencies.XPose.models.UniPose.ops.functions.ms_deform_attn_func import MSDeformAttnFunction
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/utils/dependencies/XPose/models/UniPose/ops/functions/__init__.py", line 9, in <module>
from .ms_deform_attn_func import MSDeformAttnFunction
File "/mnt/2tb_kingston_nvme/home/sdai/LivePortrait/src/utils/dependencies/XPose/models/UniPose/ops/functions/ms_deform_attn_func.py", line 18, in <module>
import MultiScaleDeformableAttention as MSDA
ImportError: dynamic module does not define module export function (PyInit_MultiScaleDeformableAttention)
Is any solution there?
The text was updated successfully, but these errors were encountered:
Hi everyone. I have ubuntu server installed, human app works fine, but animal is not. What i did:
When i run python app_animals.py --share --server_name 192.168.1.140 i got:
Is any solution there?
The text was updated successfully, but these errors were encountered: