caicloud / tensorflow-tutorial

Example TensorFlow codes and Caicloud TensorFlow as a Service dev environment.
2.93k stars 2.08k forks source link

第9章9.22 节点信息问题 #66

Closed yanyu003 closed 6 years ago

yanyu003 commented 7 years ago

train_writer.add_run_metadata(run_metadata,'step%03d',%i)

train_writer哪里定义了呢?

出错: train_writer.add_run_metadata(run_metadata,'step%03d',%i) ^ SyntaxError: invalid syntax

nowgood commented 6 years ago

随书代码改过来了,就是将 train_writer 改为 writer

caicloud-bot commented 6 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

/lifecycle stale

caicloud-bot commented 6 years ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten /remove-lifecycle stale

caicloud-bot commented 6 years ago

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close