joeggeli
joeggeli OP t1_it27weu wrote
Reply to comment by ThrowThisShitAway10 in [D] Solving energy minimization problems using neural networks by joeggeli
I haven't heard of self-supervised learning before, but that looks very interesting. My problem might well under the umbreall of self-supervised learning, I'll have to look into that. Thanks :)
joeggeli OP t1_it27igy wrote
Reply to comment by Master-Ad-6411 in [D] Solving energy minimization problems using neural networks by joeggeli
Thanks, it's great to hear that people have already done similar things successfully. The reason why I want to use a neural network over other non-linear solvers is because I need the computation of y' = F(x) to be as fast as possible during inference.
joeggeli OP t1_it26unz wrote
Reply to comment by lustiz in [D] Solving energy minimization problems using neural networks by joeggeli
Alright, I'll try to explain ...
My goal is to convert 3d scenes to bas-reliefs. The steps for this are:
- Compute the height and normal maps of a 3d scene, as seen from a specific point of view.
- Compress the heights in such a way that the overall height is reduced, while the shapes and details of the original 3d scene remain intact.
The first step is simple. The second step is a very difficult problem. There exists no method to do this in an optimal way. There are many approaches to formulate it as linear or quadratic optimization problems.
I'm currently solving it by formulating an optimization problem (which is basically the loss function L = G(x, y')), reformulating it into a poisson-like equation and then solving it using a multigrid method. This is a very standard way to compute such bas-reliefs from height or normal maps. The problems with this approach are:
a) It is relatively slow to transform a single image (1024x1024 takes 1-2 minutes). Neural networks could have the potential to be much faster. My goal is to be as close to real-time as possible. b) It is too restrictive because I have to formulate my loss function in such a way that it results in a linear system. This negatively affects the quality of the final result.
It is possible to compute how well a converted bas-relief y' = F(x) represents the original height map x, which leads to the loss function. As an example, you could compute the similarity of the normal vectors of x and y' (which will already result in a non-linear optimization problem). Similar normal vectors = low loss; different normal vectors = high loss. This type of non-linear optimization problem is what I want to solve, which is what lead me to the idea to solve this problem using a CNN.
joeggeli OP t1_it22n27 wrote
Reply to comment by iateatoilet in [D] Solving energy minimization problems using neural networks by joeggeli
Thank you! This looks very interesting and might be exactly what I'm looking for :)
Submitted by joeggeli t3_y83jow in MachineLearning
joeggeli OP t1_it27yj4 wrote
Reply to comment by LaVieEstBizarre in [D] Solving energy minimization problems using neural networks by joeggeli
The reason why I want to use a neural network over other non-linear solvers is because I need the computation of y' = F(x) to be as fast as possible during inference.