PeizhuoLi / neural-blend-shapes

An end-to-end library for automatic character rigging, skinning, and blend shapes generation, as well as a visualization tool [SIGGRAPH 2021]
Other
637 stars 92 forks source link

evaluation CD-B2B error #30

Open dongyang-mt opened 1 year ago

dongyang-mt commented 1 year ago

Hi Peizhuo:

I use the code to evaluation RigNet testset and find the following error, I want to make sure for that:

https://github.com/PeizhuoLi/neural-blend-shapes/blob/6d108309bf6892240e5c15b527bc4f5178afed9a/models/measurement.py#L83

should be

83       res[i][j] = segment2segment(a[i][0], a[i][0] + a[i][1], b[j][0], b[j][0] + b[j][1]) 

where b[i] should be b[j]. and the evaluation is not the same as paper