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
I use pytorch 2.2.2 as backend on a GPU. When setting the "display_every=1" with a LBFGS optimizer, it still print and output results every 1000 iterations. How can I fix it?
The code is :
dde.optimizers.config.set_LBFGS_options(
maxcor=50,
ftol= 1e-10,
gtol=1e-12,
maxiter=1000,
maxls=50,
)
model.compile("L-BFGS")
losshistory, train_state = model.train(display_every=1)
The output:
The text was updated successfully, but these errors were encountered:
Dear authors,
I use pytorch 2.2.2 as backend on a GPU. When setting the "display_every=1" with a LBFGS optimizer, it still print and output results every 1000 iterations. How can I fix it?
The code is :
dde.optimizers.config.set_LBFGS_options(
maxcor=50,
ftol= 1e-10,
gtol=1e-12,
maxiter=1000,
maxls=50,
)
model.compile("L-BFGS")
losshistory, train_state = model.train(display_every=1)
The output:
The text was updated successfully, but these errors were encountered: