RigNet icon indicating copy to clipboard operation
RigNet copied to clipboard

Is it possible to process asymmetrical model?

Open wuge1880 opened this issue 2 years ago • 5 comments

wuge1880 avatar Jul 29 '22 10:07 wuge1880

Hi, thanks for your nice work!

I'v tested some asymmetrical obj data with your pretrained models, found that the results were not very good, as shown in the following figures:

image image

Could you give me some suggestions to optimize the results? Is it possible to fix it by adding some asymmetrical data in the training set?

Thank you in advance!

wuge1880 avatar Jul 29 '22 10:07 wuge1880

Hi! Our training data has some asymmetric models, although the number is not high. The simplest way to remove symmetry constraint is by commenting out some code. Suppose you are using quick_start.py, you can: (1) remove line 130-133 where I reflect shifted pts and attention. (2) remove line 151 where I reflect predicted joints (3) line 204, use primMST instead of the heuristic primMST_symmetry. (imported from utils.mst_utils.py, and ignore the "joints" parameter)

I hope this can work... but I assume you also need to tune the hyper-parameters bandwidth and threshold.

zhan-xu avatar Jul 29 '22 16:07 zhan-xu

Cool, it works. Thanks for your help !!

image

wuge1880 avatar Aug 01 '22 09:08 wuge1880

Hi, I'd like to preprocess your dataset from scratch, and met some problems in obtaining the rig_info_remesh. I have got the remeshed obj files within 1K and 5K vertices, but don't know how to recalculate the skinning.... Could you provide some example code or more details about it ? Thank you!

wuge1880 avatar Aug 03 '22 10:08 wuge1880

Hi. For vertex on the remeshed mesh, I just copy the skinning weights from its nearest vertex on the original mesh.

zhan-xu avatar Aug 03 '22 20:08 zhan-xu