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

Problems in interpolation_helper.py #268

Open
nonstopfor opened this issue Jan 24, 2020 · 2 comments
Open

Problems in interpolation_helper.py #268

nonstopfor opened this issue Jan 24, 2020 · 2 comments
Assignees
Labels
bug Something isn't working priority: high High priority, should be address immediately topic: examples Issue about examples

Comments

@nonstopfor
Copy link

nonstopfor commented Jan 24, 2020

In examples/seq2seq_exposure_bias, I ran interpolation_main.py as the README told me. However, the program crashed. Here is the key error at line 127 in interpolation_helper.py:
[state[0][:, :time], tf.expand_dims(sample_ids, 1) TypeError: tuple indices must be integers or slices, not tuple
What's wrong with that?
And I find that the problem seems be relevant with commit 2307d99. Could anybody help to solve that? Thanks!

@interestingexcting
Copy link

I meet the same question.

@gpengzhi
Copy link
Collaborator

Sorry for the late reply. We will take a look at this issue.

@gpengzhi gpengzhi added bug Something isn't working priority: high High priority, should be address immediately topic: examples Issue about examples labels Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: high High priority, should be address immediately topic: examples Issue about examples
Projects
None yet
Development

No branches or pull requests

4 participants