Skip to content

Commit

Permalink
Fix compile with segnext2
Browse files Browse the repository at this point in the history
  • Loading branch information
harimkang committed Oct 7, 2024
1 parent 54c2d49 commit 2a2c52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/otx/algo/segmentation/backbones/mscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def __init__(
if pretrained_weights is not None:
self.load_pretrained_weights(pretrained_weights)

def forward(self, x: torch.Tensor) -> torch.Tensor:
def forward(self, x: torch.Tensor) -> list[torch.Tensor]:
"""Forward function."""
outs = []

Expand Down

0 comments on commit 2a2c52b

Please sign in to comment.