-
Notifications
You must be signed in to change notification settings - Fork 2
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
Unable to get good parameters from rational fitting #15
Comments
Hi boonta, Here is the output when I run tutorial2 on my machine:
You should obtain something similar. Can you drop your output? Also, there might be differences between platforms (however not that big). Could you provide the configuration you use to test this? Cheers |
Environment : ubuntu18 (on docker) Commands used to generate my output
Output
L2 distance to data is 3 times bigger than what you get. |
Could it be possible that the solver does not guarantee the global minimum solution ? I tried on a different machine with the same docker environment. I get a different result. But it is still not a good result. |
@boonta maybe the difference in error is due to the fact that you are not using the same number of coefficients as in the tutorial. The least-square solver is deterministic, but differences in output could be due to difference in compiler optimization (for exemple when using fast-math on GCC). |
I have 2 machines running the same environment (ubuntu18 on docker). Machine A Machine B What could possibly result in this big error gap ? |
Hello @belcour ,
You loaded data of R1 --> R1 which has 151 elements. However, the tutorial should have R2-> R1 which have 262144 elements.
Secondly, could that be the case that your code might be different from codes from Github ? Lastly,
The codes I used were checkout from this github. |
Le jeu. 22 avr. 2021 à 13:01, boonta ***@***.***> a écrit :
The http://alta.gforge.inria.fr/ refers to gitlab.
$ git clone https://gitlab.inria.fr/alta/alta.git
$ git checkout v0.2
I would suggest to checkout master and not v0.2 (it is quite old).
However, the least-square fitter hasn't changed since.
|
It would be helpful to clarify the status of this repo with regards to https://gitlab.inria.fr. Is the latter the more recent? |
The gitlab repo is the main one. This github is a personnal fork to experiment. |
I tried the tutorial on this page with the same material.
http://alta.gforge.inria.fr/tutorial2.html
However, my L2 error is bigger than what was provided in the tutorial page.
This is the header from ' http://alta.gforge.inria.fr/rational-example-01.brdf '.
#CMD --L2 0.0142601 --Linf 0.240069 --fitter rational_fitter_leastsquare --func rational_function_chebychev
This is the header following the tutorial.
#CMD --L2 3.25913 --Linf 231.828 --fitter rational_fitter_leastsquare --func rational_function_chebychev
My L2 error is bigger than what it should be.
Could it be any bug in the code ?
The text was updated successfully, but these errors were encountered: