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

eval.py #156

Open
jufengada opened this issue Jul 2, 2018 · 0 comments
Open

eval.py #156

jufengada opened this issue Jul 2, 2018 · 0 comments

Comments

@jufengada
Copy link

File "", line 1, in
runfile('/Users/tengwei/Desktop/cnn-text-classification-tf-master/eval.py', wdir='/Users/tengwei/Desktop/cnn-text-classification-tf-master')

File "/anaconda/lib/python3.5/site-packages/spyder/utils/site/sitecustomize.py", line 705, in runfile
execfile(filename, namespace)

File "/anaconda/lib/python3.5/site-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "/Users/tengwei/Desktop/cnn-text-classification-tf-master/eval.py", line 17, in
tf.flags.DEFINE_string("positive_data_file", "./data/rt-polaritydata/rt-polarity.pos", "Data source for the positive data.")

File "/anaconda/lib/python3.5/site-packages/tensorflow/python/platform/flags.py", line 80, in DEFINE_string
_define_helper(flag_name, default_value, docstring, str)

File "/anaconda/lib/python3.5/site-packages/tensorflow/python/platform/flags.py", line 65, in _define_helper
type=flagtype)

File "/anaconda/lib/python3.5/argparse.py", line 1344, in add_argument
return self._add_action(action)

File "/anaconda/lib/python3.5/argparse.py", line 1707, in _add_action
self._optionals._add_action(action)

File "/anaconda/lib/python3.5/argparse.py", line 1548, in _add_action
action = super(_ArgumentGroup, self)._add_action(action)

File "/anaconda/lib/python3.5/argparse.py", line 1358, in _add_action
self._check_conflict(action)

File "/anaconda/lib/python3.5/argparse.py", line 1497, in _check_conflict
conflict_handler(action, confl_optionals)

File "/anaconda/lib/python3.5/argparse.py", line 1506, in _handle_conflict_error
raise ArgumentError(action, message % conflict_string)

ArgumentError: argument --positive_data_file: conflicting option string: --positive_data_file

I don't know how to modify. Can you help me? Thanks.

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

1 participant