We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Whenver I run any model it works fine, however running transducer gives the error in transducer_model.py
Zip object is not subscriptable, line 48
So what I do is try to cast it as list, then I get
batch[1] is out of range
I tried to manually print the contents of "batch", and for some reason they empty themselves after being printed out.
Example: print(*batch) -> [...][...] print(*batch)' -> ` (nothing gets printed)
print(*batch)
[...][...]
print(*batch)' ->
The text was updated successfully, but these errors were encountered:
I solved it by adding batch = list(batch) in 2 places in the first line of the for loop in eval_dev() and in run_epoch() inside train.py
batch = list(batch)
for loop
eval_dev()
run_epoch()
Sorry, something went wrong.
No branches or pull requests
Whenver I run any model it works fine, however running transducer gives the error in transducer_model.py
So what I do is try to cast it as list, then I get
I tried to manually print the contents of "batch", and for some reason they empty themselves after being printed out.
Example:
print(*batch)
->
[...][...]
print(*batch)' ->
` (nothing gets printed)The text was updated successfully, but these errors were encountered: