Open az5872 opened 6 years ago
Hi , You can modify two files as follows.
in main.py:
...
#FLAGS.nwords = len(word2idx)
...
model = MemN2N(FLAGS, len(word2idx) ,sess)
...
in model.py: ...
class MemN2N(object):
def __init__(self, config, nwords, sess):
self.nwords = nwords
...
how to solve this?