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
Copy file name to clipboardExpand all lines: doc/source/index.rst
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,12 +139,19 @@ just type in the following commands assuming you have the above dependencies ins
139
139
140
140
Finally, PyDDA now supports using `Jax <jax.readthedocs.io>`_ and `TensorFlow <tensorflow.org>`_
141
141
for solving the three dimensional wind field. PyDDA requries TensorFlow 2.6 and the
142
-
tensorflow-probability package for TensorFlow to be enabled. Both the Jax and
143
-
TensorFlow-based engines now use automatic differentiation to solve for the gradients
144
-
of each cost function. This therefore will create gradients that are less susceptible
145
-
to boundary artifacts and rounding errors. In addition, both of these packages can
146
-
utilize CUDA-enabled GPUs for much faster processing. These two
142
+
tensorflow-probability package for TensorFlow to be enabled.
143
+
In addition, both of these packages can utilize CUDA-enabled GPUs for much faster processing. These two
147
144
dependencies are optional as the user can still use PyDDA with the SciPy ecosystem.
145
+
The Jax optimizer uses the same optimizer as SciPy's (`L-BFGS-B <https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.fmin_l_bfgs_b.html>`_).
146
+
147
+
148
+
Known issues
149
+
============
150
+
151
+
The TensorFlow engine uses the unbounded version of this optimizer which removes the constraint that the
152
+
the wind magnitudes must be less than 100 m/s. The removal of this constraint can sometimes
153
+
result in numerical instability, so it is recommended that the user test out both Jax and TensorFlow
0 commit comments