timctho / VNect-tensorflow

Apache License 2.0
474 stars 103 forks source link

About 3D labels #31

Open www516717402 opened 4 years ago

www516717402 commented 4 years ago

Thanks you for afford TF version project. The 3D label shape formulate : (batch, W, H, nums_points), how to generate this labels?

guker commented 4 years ago

same question!

www516717402 commented 4 years ago

@guker The question be solved. 2D heatmap represent x,y image coordinate. 3D heatmap use x,y,x directly. and than 3D position use 2D message.

guker commented 4 years ago

@guker The question be solved. 2D heatmap represent x,y image coordinate. 3D heatmap use x,y,x directly. and than 3D position use 2D message.

for example , location map Xj of the joint J, what is the values of this map? i think a location map have same values( root relative coordination), is right?

liwenssss commented 4 years ago

@guker The question be solved. 2D heatmap represent x,y image coordinate. 3D heatmap use x,y,x directly. and than 3D position use 2D message.

for example, I generate Location map like this:

loc_map[:, :, :, j, 0] = x_j
loc_map[:, :, :, j, 1] = y_j
loc_map[:, :, :, j, 2] = z_j

where loc_map \in R^{Batch \times H \times W \times J \times 3}, is it right?