You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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.
The text was updated successfully, but these errors were encountered: