Skip to content

DuplicateFlagError: The flag 'data_path' is defined twice. First from run_summarization.py, Second from run_summarization.py. Description from first occurrence: Path expression to tf.Example datafiles. Can include wildcards to access multiple datafiles. #161

@tohidarehman1988

Description

@tohidarehman1988

Currently I am doing a project on abstractive text summarization with a pointer generator network.
I am trying to run the code from the following github repository,link is given below
using python 3.7.3
tensorflow version 1.14.0
But getting a problem "DuplicateFlagError: The flag 'data_path' is defined twice. First from run_summarization.py, Second from run_summarization.py. Description from first occurrence: Path expression to tf.Example datafiles. Can include wildcards to access multiple datafiles"

Can you please help me to resolve this issue.
It is very urgent.
please reply.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions