TclError when training with tensorflow object detection api

TclError when training with tensorflow object detection api



I cloned the lasted object detection api and installed tensorflow-gpu 1.9, when I trained the model with 'model_main.py', it generated:


TclError: no display name and no $DISPLAY environment variable



How to solve it?




1 Answer
1



Disclamer: I am not familiar with tenserflow.



That said, the problem is that you are expected to be running an interpreter with a GUI environment but that you are not.



Make sure you start with the GUI version of the interpreter (“pythonw”) and/or have the GUI libs installed and available for the interpreter to initialize as needed.



This is true whether or not you are on *nixen: the interpreter does some behind-the-scenes magic to make it appear that you have an X-display, but only if the interpreter is specialized to do that. Hence the difference between “python” and “pythonw”, “tclsh” and “wish”, etc.



tl;dr

You cannot run tenserflow (it seems) from the console terminal version of the interpreter.



Required, but never shown



Required, but never shown






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)