guess_init() function fails
Processing: data/images\COCO_val2014_000000000241.jpg
Found Trained Model: vposer\snapshots\TR00_E096.pt
Traceback (most recent call last):
File "smplifyx/main.py", line 272, in
I think the reason is that edge_indices = kwargs.get('body_tri_idxs'), line 269, in fit_single_frame.py. I think I didn't pass a argument body_tri_idxs to the main function.
@dongliangcao Sorry for that, I just pushed a fix. Please try to run it again.
@dongliangcao Sorry for that, I just pushed a fix. Please try to run it again.
It's still have a error
for edge in edge_idxs: diff3d.append(joints_3d[:, edge[0]] - joints_3d[:, edge[1]]) diff2d.append(joints_2d[:, edge[0]] - joints_2d[:, edge[1]])
edge_idxs=[5, 12, 2, 9]
so there is no 'edge[0]' and 'edge[1]'
I modified code like this:
for index in range(len(edge_idxs)//2): diff3d.append(joints_3d[:, edge_idxs[index*2]] - joints_3d[:, edge_idxs[index*2+1]]) diff2d.append(joints_2d[:, edge_idxs[index*2]] - joints_2d[:, edge_idxs[index*2+1]])
@BboyHanat Does the issue still exist? This line should convert the input body_tri_idxs to a list of pairs.
@BboyHanat Does the issue still exist? This line should convert the input body_tri_idxs to a list of pairs.
yeah, I have solved it, It's not a big problem.