Skip to content

Segmentation fault with with_blend_shape #939

@WaterKnight1998

Description

@WaterKnight1998

Bug description

When executing this from MHR repo an error is raised in

character = character.with_blend_shape(
            character.blend_shape
        )

Many people is telling same error here: facebookresearch/MHR#44

System information

Python 3.13.11
Cuda 12.9

[project]
name = "devos"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
    "appdirs>=1.4.4",
    "appnope>=0.1.4",
    "black>=25.12.0",
    "chump>=1.6.0",
    "cython>=3.2.2",
    "detectron2",
    "dill>=0.4.0",
    "einops>=0.8.1",
    "ffmpeg>=1.4",
    "fvcore>=0.1.5.post20221221",
    "huggingface-hub>=1.2.2",
    "hydra-colorlog>=1.2.0",
    "hydra-core>=1.3.2",
    "hydra-submitit-launcher>=1.2.0",
    "joblib>=1.5.2",
    "jsonlines>=4.0.0",
    "loguru>=0.7.3",
    "moge",
    "networkx==3.2.1",
    "numpy>=2.3.5",
    "opencv-python>=4.11.0.86",
    "optree>=0.18.0",
    "pandas>=2.3.3",
    "pycocotools>=2.0.10",
    "pyrender>=0.1.45",
    "pyrootutils>=1.0.4",
    "pytest>=9.0.2",
    "pytorch-lightning>=2.6.0",
    "rich>=14.2.0",
    "roma>=1.5.4",
    "scikit-image>=0.25.2",
    "seaborn>=0.13.2",
    "tensorboard>=2.20.0",
    "timm>=1.0.22",
    "torch==2.8.0",
    "torchvision==0.23.0",
    "wandb>=0.23.1",
    "webdataset>=1.0.2",
    "yacs>=0.1.8",
    "scikit-learn==1.8.0",
    "smplx==0.1.28",
    "pymomentum-gpu>=0.1.101",
]

[tool.uv.sources]
moge = { git = "https://github.com/microsoft/MoGe.git" }
detectron2 = { git = "https://github.com/facebookresearch/detectron2.git", rev = "a1ce2f9" }
torch = [
    { index = "pytorch" },
]
torchvision = [
    { index = "pytorch" },
]

[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cu129"
explicit = true

[tool.uv.extra-build-dependencies]
detectron2 = ["torch"]

Relevant logs

Segmentation fault (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions