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

How to redirect tfdbg dumping directory #16867

Closed
twangnh opened this issue Feb 8, 2018 · 1 comment
Closed

How to redirect tfdbg dumping directory #16867

twangnh opened this issue Feb 8, 2018 · 1 comment

Comments

@twangnh
Copy link

twangnh commented Feb 8, 2018

By default, tfdbg dumps saved tensors to /tmp, but in my case, /tmp is mount in /root , /root has only several G's space, running the example debug is not a problem, but when debugging large network, for which in one run will generate tensors that exceeds 10 G's memory, it would prompts space not enough.

@caisq
Copy link
Contributor

caisq commented Feb 8, 2018

The constructors LocalCLIDebugWrapperSession and LocalCLIDebugHook both have a keyword argument called dump_root, which allows you to specify where to dump the debug data.

See:
https://www.tensorflow.org/api_docs/python/tfdbg/LocalCLIDebugWrapperSession#__init__
https://www.tensorflow.org/api_docs/python/tfdbg/LocalCLIDebugHook#__init__

@caisq caisq closed this as completed Feb 8, 2018
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

2 participants