Skip to content

Script Error #8

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

Open
wyh163 opened this issue May 21, 2021 · 0 comments
Open

Script Error #8

wyh163 opened this issue May 21, 2021 · 0 comments

Comments

@wyh163
Copy link
Contributor

wyh163 commented May 21, 2021

Expected integer literal for index. ModuleList/Sequential indexing is only supported with integer literals. Enumeration is supported, e.g. 'for index, v in enumerate(self): ...':
File "/gemfield/hostpv2/wangyuhang/github/ESPNet/modules/model.py", line 68
output = [self.spp_dw0]
for k in range(1, len(self.spp_dw)):
out_k = self.spp_dwk
~~~~~~~~~~~~~~ <--- HERE
out_k = out_k + output[k - 1]
output.append(out_k)

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