The Gaussian process regression example (Gaussian Process Regression in TensorFlow Probability) is giving following error
ValueError: No gradients provided for any variable: ['amplitude:0', 'length_scale:0', 'observation_noise_variance_var:0'].
This error goes away when I comment out the tf.function
decorator.
I am using tensorflow 2.5.0.
What is the cause of the error?
1 Like
lgusm
2
Thanks for pointing that out @tonygrey
I filled a bug on that and I’ll keep you posted!
Bhack
3
There was already a ticket:
1 Like
Bhack
4
I suppose that the main problem is that this and other notebooks are not under CI testing in the TFP repo.
lgusm
5
Apparently this is fixed.
maybe it was something with libraries versioning