zju3dv / Mirrored-Human

[CVPR 2021 Oral] Reconstructing 3D Human Pose by Watching Humans in the Mirror
Other
186 stars 10 forks source link

there is something wrong with# Run demo on videos python3 apps/demo/1v1p_mirror.py ${data} --out ${out} --vis_smpl --video #7

Closed daoboke closed 2 years ago

daoboke commented 2 years ago

nothing,i solved

QiFuChina commented 2 years ago

I got same error like below (easymocap) C:\ResourceCode\EasyMocap>python apps/demo/1v1p_mirror.py data/zju-m-demo --out data/zju-m-demo-output --vis_smpl --video Traceback (most recent call last): File "apps/demo/1v1p_mirror.py", line 8, in from easymocap.estimator import SPIN, init_with_spin ImportError: cannot import name 'init_with_spin' I try to traceback filelvlp_mirror.py but I didn't know where is the model init_with_spin

daoboke commented 2 years ago

apps/demo/1v1p_mirror.py

from operator import imod import numpy as np from tqdm import tqdm from os.path import join from easymocap.dataset.mv1pmf_mirror import ImageFolderMirror as ImageFolder from easymocap.mytools import Timer from easymocap.smplmodel import load_model, merge_params, select_nf from easymocap.estimator.SPIN import SPIN, init_with_spin from easymocap.pipeline.mirror import multi_stage_optimize