fudan-generative-vision / champ

Champ: Controllable and Consistent Human Image Animation with 3D Parametric Guidance
https://fudan-generative-vision.github.io/champ/
MIT License
4.26k stars 528 forks source link

SMPL smooth and smpl_rendering.blend #159

Open SKY-66 opened 3 weeks ago

SKY-66 commented 3 weeks ago

ModuleNotFoundError: No module named 'numpy._core' unknown argument, loading as file: --smpls_group_path Error: Cannot read file "/opt/data/sl/cv/champ/--smpls_group_path": No such file or directory

yhd-ai commented 4 days ago

same problem

yhd-ai commented 4 days ago

It seems the numpy version in blender is not consistent with the version in 4D-humans conda environment. I follow this script to reinstall the Numpy.

import sys
import subprocess

blender_python_executable = sys.executable

install_command = [blender_python_executable, "-m", "pip", "install", "numpy==2.1.1"]

subprocess.check_call(install_command)

And run blender --background --python blender_install.py in terminal It works for me

yhd-ai commented 4 days ago

It seems the numpy version in blender is not consistent with the version in 4D-humans conda environment. I follow this script to reinstall the Numpy.

import sys
import subprocess

blender_python_executable = sys.executable

install_command = [blender_python_executable, "-m", "pip", "install", "numpy==2.1.1"]

subprocess.check_call(install_command)

And run blender --background --python blender_install.py in terminal It works for me

The code and idea is from #41