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

train_on_batch() outputs progress bar #20361

Open
aedavids opened this issue Oct 16, 2024 · 1 comment
Open

train_on_batch() outputs progress bar #20361

aedavids opened this issue Oct 16, 2024 · 1 comment
Assignees

Comments

@aedavids
Copy link

I am training a trival GAN using train_on_batch() it does not have a verbose argument. it produced a mount of out put of the form

$ head *.out
2/2 ━━━━━━━━━━━━━━━━━━━━ 0s 1ms/step 
2/2 ━━━━━━━━━━━━━━━━━━━━ 0s 916us/step
2/2 ━━━━━━━━━━━━━━━━━━━━ 0s 771us/step
2/2 ━━━━━━━━━━━━━━━━━━━━ 0s 878us/step
2/2 ━━━━━━━━━━━━━━━━━━━━ 0s 731us/step
2/2 ━━━━━━━━━━━━━━━━━━━━ 0s 836us/step
2/2 ━━━━━━━━━━━━━━━━━━━━ 0s 770us/step
2/2 ━━━━━━━━━━━━━━━━━━━━ 0s 726us/step
2/2 ━━━━━━━━━━━━━━━━━━━━ 0s 724us/step
2/2 ━━━━━━━━━━━━━━━━━━━━ 0s 867us/step

setting the following did not resolve the issue

tf.get_logger().setLevel('ERROR')
tf.autograph.set_verbosity(0)
tf.config.set_soft_device_placement(False)

Python 3.11.10
$
conda list tensorflow
tensorflow 2.17.0 cpu_py311h6ac8430_2 conda-forge
tensorflow-base 2.17.0 cpu_py311h0e3e7eb_2 conda-forge
tensorflow-estimator 2.17.0 cpu_py311h331965b_2 conda-forge

$ conda list keras

Name Version Build Channel

keras 3.4.1 pyhd8ed1ab_2 conda-forge

please see attached test script

Kind regards

Andy

08_complete_example.py.txt

@Grvzard
Copy link
Contributor

Grvzard commented Oct 16, 2024

line 68:

X = generator.predict(x_input, verbose=0)

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

3 participants