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

problem in running eval.py program #5

Open
srinathdwivedi opened this issue May 29, 2018 · 0 comments
Open

problem in running eval.py program #5

srinathdwivedi opened this issue May 29, 2018 · 0 comments

Comments

@srinathdwivedi
Copy link

i tried to run eval.py after following all steps as given in READ.me
but i am facing following error:
Traceback (most recent call last):
File "/home/srinath/RE/cnn-relation-extraction-master/eval.py", line 122, in
tf.app.run()
File "/home/srinath/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "/home/srinath/RE/cnn-relation-extraction-master/eval.py", line 118, in main
eval()
File "/home/srinath/RE/cnn-relation-extraction-master/eval.py", line 80, in eval
batches = data_helpers.batch_iter(list(x_eval), FLAGS.batch_size, 1, shuffle=False)
File "/home/srinath/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/flags.py", line 50, in getattr
raise AttributeError(name)
AttributeError: batch_size
may i know how to resolve it

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