hadyelsahar / CNN-RelationExtraction

Convolution neural network for relation extraction between two given entities
178 stars 60 forks source link

problem in running eval.py program #5

Open srinathdwivedi opened 6 years ago

srinathdwivedi commented 6 years ago

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