Closed MBulli closed 5 months ago
Hey @MBulli, thanks for reporting this! I think I know what the problem is. I will look into it later today or tomorrow and get back to you.
Could you please post the output of
pip show backends
Sure!
Name: backends
Version: 1.6.3
Summary: A generic interface for linear algebra backends
Home-page: https://github.com/wesselb/lab
Author: Wessel Bruinsma
Author-email: wessel.p.bruinsma@gmail.com
License: MIT
Location: /home/markus/Downloads/geoflow/.venv/lib64/python3.11/site-packages
Requires: fdm, numpy, opt-einsum, plum-dispatch, scipy
Required-by: geometric_kernels
btw is B.dtype(lengthscale)
correct in the faulty line? Shouldn't it be B.dtype(nu)
?
Hi @MBulli, could you please provide a minimal reproducible example? It would help us debug the problem.
btw is
B.dtype(lengthscale)
correct in the faulty line? Shouldn't it beB.dtype(nu)
?
Yes, we assume that params["nu"]
and params["lengthscale"]
dtypes are the same but also that lengthscale's dtype takes precedence if they are not.
I'm having trouble reproducing this, could you please post the full source code that leads to it?
BTW, did you do import geometric_kernels.tensorflow
right after import geometric_kernels
?
BTW, did you do
import geometric_kernels.tensorflow
right afterimport geometric_kernels
?
This fixed the problem! I was still using the imports from the old example notebooks. My bad, should have checked if the example code changed with the latest release, sorry. Thank you!
With the new version from yesterday, my code throws the following exception in
MaternKarhunenLoeveKernel._spectrum()
:I'm using the code from the mesh example. With the old version (do not know the version) my code still worked. So I'm assuming that there might be a bug in the new framework code?
Stack trace, or error message
Expected behavior
No error at all.
System information