Skip to content

Commit a2433d9

Browse files
committed
🐛 Update name to avoid shadowing
1 parent ec76c39 commit a2433d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ice_station_zebra/models/encode_process_decode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def __init__(
3434
]
3535
# We have to explicitly register each encoder as list[Module] will not be
3636
# automatically picked up by PyTorch
37-
for idx, encoder in enumerate(self.encoders):
38-
self.add_module(f"encoder_{idx}", encoder)
37+
for idx, module in enumerate(self.encoders):
38+
self.add_module(f"encoder_{idx}", module)
3939

4040
# Add a processor
4141
self.processor = hydra.utils.instantiate(

0 commit comments

Comments
 (0)