You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Lululxvi.
I tried to build a half-half type domain by using two different constant coefficients in one pde, Coefficient changed from 0.3 to 5 when it cross the middle line, like the following graph.
I got an error about numpy when it calls " cc = sol_C(x_np)": NotImplementedError: Cannot convert a symbolic Tensor (strided_slice_22:0) to a numpy array.
Also, I think something wrong when I generate my function sol_C, it doesn't output the result cc as I want from 0.3 to 5. Could you please give me some hints for this part?
Hi, have you solved this problem?
I have the same problem, and my parameter is a function of the output. So I also need to use scipy.interpolate in Tensorflow, but it gave me the error above
Hi, Lululxvi.
I tried to build a half-half type domain by using two different constant coefficients in one pde, Coefficient changed from 0.3 to 5 when it cross the middle line, like the following graph.
Here is my code:
I got an error about numpy when it calls " cc = sol_C(x_np)":
NotImplementedError: Cannot convert a symbolic Tensor (strided_slice_22:0) to a numpy array.
Also, I think something wrong when I generate my function sol_C, it doesn't output the result cc as I want from 0.3 to 5. Could you please give me some hints for this part?
Thank you! @lululxvi
The text was updated successfully, but these errors were encountered: