asyml / asyml/texar

Problems in interpolation_helper.py

Open
#268 2 comments 0 reactions 1 assignee Claimed by @tanyuqian View on GitHub
bug priority: high topic: examples
Dominant language
Python
Stars
2.4k
Forks
367
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.