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

Fetching fingreprint error #59

Open
phquanta opened this issue Oct 9, 2019 · 0 comments
Open

Fetching fingreprint error #59

phquanta opened this issue Oct 9, 2019 · 0 comments

Comments

@phquanta
Copy link

phquanta commented Oct 9, 2019

When running decode.py in sample regime i'm getting following error:

KeyError: "The name 'model_with_buckets/embedding_attention_seq2seq_1/rnn/rnn/embedding_wrapper/embedding_wrapper/multi_rnn_cell/cell_0/cell_0/gru_cell/add_59:0' refers to a Tensor which does not exist. The operation, 'model_with_buckets/embedding_attention_seq2seq_1/rnn/rnn/embedding_wrapper/embedding_wrapper/multi_rnn_cell/cell_0/cell_0/gru_cell/add_59', does not exist in the graph."

I've looked all over computational graph to find tensor named .../cell_0/cell_0/... and could not find it, however tensors named .../cell_0/... are in abundance.
In this case, if i change prefix to be (comment one cell_id)
`encoder_state_names = [

"%s/cell_%d/cell_%d/%s/add%s:0" % (

        "%s/cell_%d/%s/add%s:0" % (
            cell_prefix,
            cell_id,

cell_id,

            "gru_cell", # In the future, we might have LSTM support.
            "_%d" % n if n > 0 else ""
        ) for cell_id in xrange(self.num_layers)]`

This fix seems to be working with certain buckets but not with all of them.

Additionally, in paper it is mentioned that there is bottleneck layer to extract fp's however in the code it seems like that context + hidden states of encoder makes fps, not the output of bottleneck layer.

Is it a bug ?

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