Skip to content

Commit

Permalink
fix: Fix wrong replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Dec 17, 2024
1 parent 57be075 commit cdcc368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/careamics/models/unet.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __init__(
)
)
encoder_blocks.append(self.pooling)
self.encoder_blocks = nn.Modulelist(encoder_blocks)
self.encoder_blocks = nn.ModuleList(encoder_blocks)

def forward(self, x: torch.Tensor) -> list[torch.Tensor]:
"""
Expand Down Expand Up @@ -222,7 +222,7 @@ def __init__(
)
)

self.decoder_blocks = nn.Modulelist(decoder_blocks)
self.decoder_blocks = nn.ModuleList(decoder_blocks)

def forward(self, *features: torch.Tensor) -> torch.Tensor:
"""
Expand Down

0 comments on commit cdcc368

Please sign in to comment.