Skip to content

Commit 819a29e

Browse files
committed
fix: bug in extra repr in fixed unpooling module
1 parent 06047ef commit 819a29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cellseg_models_pytorch/modules/upsample/fixed_unpool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ def forward(self, x: torch.Tensor) -> torch.Tensor:
4343

4444
def extra_repr(self):
4545
"""Print output."""
46-
return "scale_factor={self.scale_factor}" # .format(**self.__dict__)
46+
return f"scale_factor={self.scale_factor}" # .format(**self.__dict__)

0 commit comments

Comments
 (0)