Closed Skylark0924 closed 4 years ago
Cholesky decomposition can fail when the input matrices have a bad condition number. See similar issues on GPflow.
Thank you for your response! Could you give me some advice about how to avoid this situation when using my own environment? The examples you gave are all ran successfully, but I really can't find out the difference with my own env.
I am using my own gym env to test PILCO as a baseline, while this problem always occurs after about 2-3 iterations.
The main function is just mimic the inv_double_pendulum:
And I debug the input X and Y carefully, there is no NaN in the array. This is bothering me for a long time, so I wonder if you can give me a favor, I will appreciate that very much.