Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to process asymmetrical model? #69

Open
wuge1880 opened this issue Jul 29, 2022 · 5 comments
Open

Is it possible to process asymmetrical model? #69

wuge1880 opened this issue Jul 29, 2022 · 5 comments

Comments

@wuge1880
Copy link

No description provided.

@wuge1880 wuge1880 changed the title is Is it possible to process asymmetrical model? Jul 29, 2022
@wuge1880
Copy link
Author

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!

@zhan-xu
Copy link
Owner

zhan-xu commented Jul 29, 2022

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.

@wuge1880
Copy link
Author

wuge1880 commented Aug 1, 2022

Cool, it works. Thanks for your help !!

image

@wuge1880
Copy link
Author

wuge1880 commented Aug 3, 2022

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!

@zhan-xu
Copy link
Owner

zhan-xu commented Aug 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants