Closed ShamLich closed 3 years ago
请问使用的是什么数据
不好意思回复迟了,我刚刚重新装了一遍环境,又跑了一遍花了些时间,发现问题已经解决了
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: Qing Shuai @.> 发送时间: 2021年10月24日 20:26 收件人: zju3dv/EasyMocap @.> 抄送: ShamLich @.>, Author @.> 主题: 回复:[zju3dv/EasyMocap] 运行示例demo出了问题 (Issue #96)
请问使用的是什么数据
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
@ShamLich 你好我现在也面临这个问题请麻烦问一下是哪里配置有问题吗
python scripts/preprocess/extract_video.py datasets --handface这一句可以顺利的运行 python apps/demo/mv1p.py datasets --out datasets/output/smpl --vis_det --vis_repro --undis --sub_vis 1 --vis_smpl运行这一句会出现两个问题 1是生成的keypoints3d下的json文件中所有值都为0 2是最终报错如下
Demo code for multiple views and one person:
triangulation: 100%|█████████████████████████████████████████████████████████████████| 800/800 [00:50<00:00, 15.76it/s] dump: 100%|████████████████████████████████████████████████████████████████████████| 800/800 [00:00<00:00, 2912.78it/s] loading: 100%|█████████████████████████████████████████████████████████████████████| 800/800 [00:00<00:00, 2659.10it/s] -> [Optimize global RT ]: 0.0ms Traceback (most recent call last): File "apps/demo/mv1p.py", line 116, in
mv1pmf_smpl(dataset, args)
File "apps/demo/mv1p.py", line 69, in mv1pmf_smpl
params = smpl_from_keypoints3d2d(body_model, kp3ds, keypoints2d, bboxes,
File "e:\users\shamlich\documents\github\easymocap\easymocap\pipeline\basic.py", line 77, in smpl_from_keypoints3d2d
params = multi_stage_optimize(body_model, params, kp3ds, kp2ds, bboxes, Pall, weight_pose, cfg)
File "e:\users\shamlich\documents\github\easymocap\easymocap\pipeline\basic.py", line 18, in multi_stage_optimize
params = optimizePose3D(body_model, params, kp3ds, weight=weight, cfg=cfg)
File "e:\users\shamlich\documents\github\easymocap\easymocap\pyfitting\optimize_simple.py", line 301, in optimizePose3D
params = _optimizeSMPL(body_model, params, prepare_funcs, postprocess_funcs, loss_funcs, weight_loss=weight, cfg=cfg)
File "e:\users\shamlich\documents\github\easymocap\easymocap\pyfitting\optimize_simple.py", line 246, in _optimizeSMPL
final_loss = fitting.run_fitting(optimizer, closure, opt_params)
File "e:\users\shamlich\documents\github\easymocap\easymocap\pyfitting\optimize.py", line 38, in run_fitting
loss = optimizer.step(closure)
File "e:\users\shamlich\documents\github\easymocap\easymocap\pyfitting\lbfgs.py", line 307, in step
orig_loss = closure()
File "e:\users\shamlich\documents\github\easymocap\easymocap\pyfitting\optimize_simple.py", line 227, in closure
new_params = func(new_params)
File "e:\users\shamlich\documents\github\easymocap\easymocap\pyfitting\optimize_simple.py", line 121, in interp_func
params[key][nf] = interp(params[key][left], params[key][right], 1-weight, key=key)
IndexError: index 800 is out of bounds for dimension 0 with size 800