Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set keras model.fit verbosity to 2 #84

Open
aamster opened this issue Feb 7, 2022 · 0 comments
Open

Set keras model.fit verbosity to 2 #84

aamster opened this issue Feb 7, 2022 · 0 comments

Comments

@aamster
Copy link
Collaborator

aamster commented Feb 7, 2022

Currently deepinterpolation runs model.fit with the default verbosity of "auto". This does logging of training status in interactive mode, which uses tqdm. It clutters the logs and is not useful for production in which logs are logged to a file.

Current log looks like this

INFO:__main__:#0151/2 [==============>...............] - ETA: 10s - loss: 0.9100#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#0152/2 [==============================] - ETA: 0s - loss: 0.9100 #010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#010#0152/2 [==============================] - 14s 3s/step - loss: 0.9100

Set verbosity for the cli to 2, which will log on individual lines. The CLI will always be run in a non-interactive way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant