-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Error in pipeline unittest after setup #316
Comments
Incase you are still stuck, took me a bit but this finally worked:
|
probably this was a mistake?
|
I am also facing this same error while using Tensorflow 1.7. @Johnszhang 's suggestion eliminated the initial error, but now I'm encountering a DuplicateFlagError, which suggests the flags are not actually getting cleared. Any suggestions? |
tf.app.flags.FLAGS is defined in (take the codebase of tf v1.5 as example): It's a wrapper for FlagValues which defined in: After reading the source code, i modified the function body of _clear_flags and the error gone away.
@cameronrhamilton Hope can help you :) |
Thank you @slvher ! I am unfortunately still receiving the following error: |
I got a problem after i solved the #285 and the AttributeError which @mbehrooz mentioned above
I've check the path"C:\Users\user\AppData\Local\Temp" and there is no such file... |
Hi any luck resolving the above error ? I am facing the same error on tensorflow 1.8. |
I think I have sloved all these error (ImportError, _FlagValues error and _tkinter.TclError) : |
I got a same error. [PermissionError: [Errno 13] Permission denied: 'C:\Users\Administrator\AppData\Local\Temp\tmpzvxkn3wu'] |
Any suggestions on how to fix this problem? I am working on windows 10, and I tried with the specified tf+python version above and still get the same error. I appreciate any help |
Traceback (most recent call last): |
please help me in this above issue I have been using tensorflow-gpu 1.14 |
I initially encountered Bernoulli and Categorical import errors. I fixed that by doing the solutions in #285. But now I get a new error: (I have tf 1.5.0 rc-1)
======================================================================
ERROR: test_train_infer (seq2seq.test.pipeline_test.PipelineTest)
Tests training and inference scripts.
Traceback (most recent call last):
File "/home/morteza/seq2seq/seq2seq/seq2seq/test/pipeline_test.py", line 76, in test_train_infer
_clear_flags()
File "/home/morteza/seq2seq/seq2seq/seq2seq/test/pipeline_test.py", line 44, in _clear_flags
tf.app.flags.FLAGS = tf.app.flags._FlagValues()
AttributeError: module 'tensorflow.python.platform.flags' has no attribute '_FlagValues'
The text was updated successfully, but these errors were encountered: