asyml / texar

Toolkit for Machine Learning, Natural Language Processing, and Text Generation, in TensorFlow. This is part of the CASL project: http://casl-project.ai/
https://asyml.io
Apache License 2.0
2.39k stars 374 forks source link

Problems in interpolation_helper.py #268

Open nonstopfor opened 4 years ago

nonstopfor commented 4 years ago

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 2307d99d0141d9d2d2e99a67aaae04fdae42f71e. Could anybody help to solve that? Thanks!

interestingexcting commented 4 years ago

I meet the same question.

gpengzhi commented 4 years ago

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