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

The accuracy of predicted sdf function #29

Open
1999kevin opened this issue Mar 8, 2022 · 0 comments
Open

The accuracy of predicted sdf function #29

1999kevin opened this issue Mar 8, 2022 · 0 comments

Comments

@1999kevin
Copy link

Hi, thank you for your wonderful job. I have tested the performance on your models and get some trouble about the accuracy.
Here is my test process:
I have a mesh model: a sphere with center at (0,5,0,5,0,5) and with radius 0.5. So this mesh surface contains the points such as [0.5, 1, 0.5], [1, 0.5, 0.5], [0.5,0.5, 1]
I use your code to train a model with following commands: python --net OctreeSDF --num_lods 5 --dataset_path my.obj --epoch 250 --exp-name test

And then I use the model to get some sdf predicted value around the points , [0.5, 1, 0.5], [1, 0.5, 0.5], [0.5,0.5, 1].
I make up three points sets: [0.5, i, 0.5], [i, 0.5, 0.5], [0.5,0.5, i] for i in numpy.linspace(0.997, 1.003, 1001)
I test the accuracy of the model with these three points sets and get some results:
lADPJxuMPr9gd_DNARrNAYU_389_282

I find the the sdf values change their sign at [0.5, 0.99895, 0.5], [0.999027, 0.5, 0.5], [0.5,0.5, 0.999027], which are about 0.001 from the ground truth. And at points 0.5], [1, 0.5, 0.5], [0.5,0.5, 1], the predicted sdf values are about 0.002, which is also too big compared with the 1e-6 training L2 loss.

Could you please give some explaination about this phenomenon? And is there any suggestion to improve the accuracy of the predicted sdf value?

I'm looking forward to your reply. It is quite important for me.

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

1 participant