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

Tune simulation #28

Open
yihao19 opened this issue Nov 6, 2024 · 4 comments
Open

Tune simulation #28

yihao19 opened this issue Nov 6, 2024 · 4 comments

Comments

@yihao19
Copy link

yihao19 commented Nov 6, 2024

Hello,

I am wondering how if scene parameter can also become a part of model parameter that can be trained using the data generated by the simulation.

Best,
Yihao

@yihao19
Copy link
Author

yihao19 commented Nov 6, 2024

"Bi-directional communication channels allow Blender simulations to adapt during network training" I am very curious how could Blender adapt during network training. Passing model trainable parameter to change the scene settings or... Thank you

@cheind
Copy link
Owner

cheind commented Nov 7, 2024

@yihao19 yes that's possible and demonstrated here. It requires back-prop through non-differentiable render function of Blender, which I documented there

@yihao19
Copy link
Author

yihao19 commented Nov 7, 2024

@cheind Thank you for the quick response, I am actually trying to pass physical parameters of Cloth modifier, and trying to optimize them using l2 between modified mesh and GT mesh, In my case, would it also be possible? I am feeling like I need the "modifier" part to be differentiable to do that.

@cheind
Copy link
Owner

cheind commented Nov 7, 2024

yes, that would be required, but it probably isn't. You might use one of the gradient estimator 'tricks' to avoid that - reparametrization or score function gradient estimation are keywords. I used the latter to avoid making rending differentiable.

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