Currie32 / Text-Summarization-with-Amazon-Reviews

A seq2seq model that can generate summaries from fine food reviews on Amazon.
233 stars 103 forks source link

Restoring Session #9

Open alanbrandini opened 6 years ago

alanbrandini commented 6 years ago

Hi, I'm trying to restore the session for the last checkpoint saved. I do this uncommenting this two lines of the code:

loader = tf.train.import_meta_graph("./" + checkpoint + '.meta') loader.restore(sess, checkpoint)

But I'm getting this error: ValueError: cannot add op with name encoder_0/bidirectional_rnn/fw/lstm_cell/kernel/Adam as that name is already used

Am I doing something wrong or is this an issue?

youssefalarnaouty commented 6 years ago

Try rerunning the sections of building the model , I think the problem would resolve if we reset the model from the beginning

AbhilashChalla commented 5 years ago

Did you get past this issue?