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

Simulation getting stuck #12

Open
detectiveli opened this issue Sep 3, 2024 · 3 comments
Open

Simulation getting stuck #12

detectiveli opened this issue Sep 3, 2024 · 3 comments
Labels
can't reproduce The issue cannot be reproduced

Comments

@detectiveli
Copy link

Hi,

This is a really great work and the results looks fantastic! I would like to try it but I met some problems when I use the gui.py file.

After I run the gui.py and upload the ./assets/design_params/t-shirt.yaml and ./assets/bodies/mean_male.yaml, I got some errors "drape current design". The results are showed below.

Could you please offer me some help or suggestions to help me? Thanks!

Screenshot from 2024-09-03 16-40-14
Screenshot from 2024-09-03 16-40-52

@maria-korosteleva
Copy link
Owner

Hi! Thank you for reporting a problem

Judging by the simulation log, the simulation process failed (cannot finish draping properly -- static equilibrium not achieved), so the only geometry you will be able to get is the pre-simulation state -- boxmesh, as on the image you posted. This could happen sometimes since the simulation is imperfect and may fail in certain cases

Now it's weird that it failed on a basic t-shirt example though. I could not reproduce it right away, but I would look into it more.
Could you try the same setup multiple times? There is some randomness in simulation process, so sometimes it fails because the stars aligned wrong in that moment 😑

@detectiveli
Copy link
Author

detectiveli commented Sep 3, 2024

Many thanks for your kind reply! And I am also digging into it for now.

I also check the command line:
python test_garmentcode.py
python test_garment_sim.py -p /path/to/pattern_specification.json

And I got some results which might be helpful for finding the problem.

t-shirt__240903-20-53-08_specification.json
sim_props.log

@maria-korosteleva
Copy link
Owner

The spec file you shared drapes fine for me.

Maybe there is an issue with the warp running on your GPU. Which GPU are you using and which CUDA version?

Also, please, send the full log folder with this example (the .zip file you are downloading or the directory with the examples logs saved by test_garment_sim.py

JackZhouSz pushed a commit to JackZhouSz/GarmentCode that referenced this issue Sep 8, 2024
…or_sim_merge

Merge sim and meshgen routines into this project
@maria-korosteleva maria-korosteleva changed the title Need some help for rendering Simulation getting stuck Oct 9, 2024
@maria-korosteleva maria-korosteleva added the can't reproduce The issue cannot be reproduced label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce The issue cannot be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants