Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

AttributeError: module 'tensorflow.python.platform.flags' has no attribute '_FlagValues' #360

@newmluser

Description

@newmluser

======================================================================
ERROR: test_train_infer (seq2seq.test.pipeline_test.PipelineTest)
Tests training and inference scripts.

Traceback (most recent call last):
File "C:\Users\xxxxx\NLP\seq2seqten\seq2seq\seq2seq\test\pipeline_test.py", line 76, in test_train_infer
_clear_flags()
File "C:\Users\xxxxxx\NLP\seq2seqten\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'


Ran 2 tests in 0.733s

FAILED (errors=1, skipped=1)

Can you please help me how I can get solve this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions