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

您好,训练的时候输出都是下面这样的每轮训练时间,请问能不能加上每轮loss的代码 #69

Open
beeper00 opened this issue Jul 5, 2021 · 4 comments

Comments

@beeper00
Copy link

beeper00 commented Jul 5, 2021

I0702 21:27:52.672870 140382066132736 tpu_estimator.py:2159] global_step/sec: 2.20724
INFO:tensorflow:examples/sec: 70.6318
I0702 21:27:52.673159 140382066132736 tpu_estimator.py:2160] examples/sec: 70.6318
INFO:tensorflow:global_step/sec: 2.21268
I0702 21:27:53.124828 140382066132736 tpu_estimator.py:2159] global_step/sec: 2.21268
INFO:tensorflow:examples/sec: 70.8057
I0702 21:27:53.125130 140382066132736 tpu_estimator.py:2160] examples/sec: 70.8057
INFO:tensorflow:global_step/sec: 2.21184
I0702 21:27:53.576927 140382066132736 tpu_estimator.py:2159] global_step/sec: 2.21184
INFO:tensorflow:examples/sec: 70.7789
I0702 21:27:53.577238 140382066132736 tpu_estimator.py:2160] examples/sec: 70.7789
INFO:tensorflow:global_step/sec: 2.19004
I0702 21:27:54.033540 140382066132736 tpu_estimator.py:2159] global_step/sec: 2.19004
INFO:tensorflow:examples/sec: 70.0812
I0702 21:27:54.033850 140382066132736 tpu_estimator.py:2160] examples/sec: 70.0812
INFO:tensorflow:global_step/sec: 2.21437
I0702 21:27:54.485132 140382066132736 tpu_estimator.py:2159] global_step/sec: 2.21437
INFO:tensorflow:examples/sec: 70.8598
I0702 21:27:54.485425 140382066132736 tpu_estimator.py:2160] examples/sec: 70.8598

@yuanxiaosc
Copy link
Owner

@beeper00 你可以使用TensorBoard监控训练的全过程

@newhg
Copy link

newhg commented May 26, 2022

请问加上loss了吗,求代码。tf小白不知如何添加

@yuanxiaosc
Copy link
Owner

每轮的loss统计本身就有,通过TensorBoard可以查看

@newhg
Copy link

newhg commented May 27, 2022 via email

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