-
Notifications
You must be signed in to change notification settings - Fork 47
Description
I use PaddleSeg to create masks,but it seems that the results are not good enough.When I run step2 in VideoAvatar, there is something wrong with it.
n /= np.linalg.norm(n, axis=1).reshape(-1, 1)
78%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▉ | 94/120 [00:16<00:04, 5.81it/s]
Traceback (most recent call last):
File "step2_consensus.py", line 206, in
args.first_frame, args.last_frame, args.nohands, args.naked, args.display)
File "step2_consensus.py", line 135, in main
fit_consensus(frames, base_smpl, camera, frustum, model_data, nohands, icp_count, naked, display)
File "step2_consensus.py", line 81, in fit_consensus
E['silh_{}'.format(current)] = ray_objective(f, sigma, base_smpl, camera, vis_rn_b, vis_rn_m)
File "/home/zhuly59/CODE/videoavatars2/lib/rays.py", line 96, in ray_objective
f.v_ids, f.rays_u = unpose_and_select_rays(f.rays, f.Vi, base_smpl, vis_rn_b, vis_rn_m)
File "/home/zhuly59/CODE/videoavatars2/lib/rays.py", line 34, in unpose_and_select_rays
ray_matches = np.argmin(dist, axis=0)
File "/home/zhuly59/anaconda3/envs/VideoAvatar/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 1172, in argmin
return _wrapfunc(a, 'argmin', axis=axis, out=out)
File "/home/zhuly59/anaconda3/envs/VideoAvatar/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 56, in _wrapfunc
return getattr(obj, method)(*args, **kwds)
ValueError: attempt to get argmin of an empty sequence