Skip to content

Commit

Permalink
FIX: JaxOpt outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Jackson committed Oct 3, 2023
1 parent bb0801e commit a8ce30e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pydda/retrieval/wind_retrieve.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,6 @@ def loss_and_gradient(x):
)
winds = {"winds": winds}
winds, state = solver.run(winds, bounds=bounds)
print("Cost function: %4.3f" % winds.theta)
print("L^2 norm of gradient: %4.3f" % jnp.linalg.norm(state.grad["winds"]))
winds = [np.asanyarray(winds["winds"])]

winds = np.reshape(
Expand Down

0 comments on commit a8ce30e

Please sign in to comment.