Comments (2)
Itβs a good idea to try initializing from a neighborhood close to ground truth and see if optimization can progress. Can you give me more details for your experiments? What was the target k and what were the initial values you tried? What were the initial and final loss? Have you tried different step size for the optimizer?
from diffcloth.
Thanks for the reply, to further address my question:
My question is why wind force can be optimised while stiffness cannot.
To answer your questions:
- I tried with initial guesses with 1019, 553, 2609, 3148, and the ground truth is 550.
- The losses initially 13 and further drops below 0.2, but this is caused of the wind force, since the k is barely moving. If I turn off the wind optimisation, the loss would be originated around 0.5, which should be good.
- I didnt try different step size for the BFGS solver because it seems like you used the default settings(I didnt find any part of code trying to modify this), where the step is generated between 1e-20 and 1e20
Also, I am not sure if the target K should be the same as reference, since for a backward problem, there should exist multiple solutions. Especially for an energy decaying system.
What confuses me is that all of my attempts have a very similar behaviour -- all of them are not trying to converge. In another words, this is saying all of my attempts could be a solution, but that is not likely the reason, so my best guess is that stiffness is not effective in this experiment.
Therefore, I also tried with the dress demo with default settings. The initial loss is 3.6 and find loss is 2.7 which takes 27 iterations. However, this experiment is to optimise the bending stiffness, but the behaviour of K are similar.
K | density | |
---|---|---|
Initial Guess | 4.5456 | 0.96 |
Final Guess | 4.547 | 0.6468 |
Ground truth | 2 | 0.01 |
Furthermore, as I mentioned previously, when I turned off the wind, the optimisation process is terminated at first iteration due to the one-iteration condition of BFGS. I wonder whether this implies optimisation failure? Since BFGS couldnt find the next possible guess.
from diffcloth.
Related Issues (20)
- Regarding codebase release!! HOT 4
- Code released: physics engine or optimizers! HOT 6
- Licensed under MIT license? HOT 1
- Trouble building for Windows 10/11 HOT 1
- Possibility of visualize frame by frame? HOT 2
- Possibility of adding more obstacles? HOT 4
- Pip subprocess error HOT 2
- Restore windows support. HOT 2
- Animated cloth simulation on avatars HOT 9
- Use c++17 std::filesystem HOT 2
- Run clang format over DiffCloth HOT 3
- Simulation with dirvenable human model HOT 1
- How to set param in FabricConfiguration? HOT 2
- Some question about the warning in /src/code/simulation/Triangle.cpp HOT 4
- how to simulate my garment into DiffCloth HOT 1
- Application Porting? HOT 2
- custom simulation instructions
- Where do you get your bending energy formulation from ? HOT 1
- Question about cloth material optimization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diffcloth.