-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels