We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1831d75 + 28325e9 commit 42c0bcdCopy full SHA for 42c0bcd
efficientnet/utils_extra.py
@@ -80,7 +80,7 @@ def forward(self, x):
80
top = extra_v // 2
81
bottom = extra_v - top
82
83
- x = F.pad(x, [left, right, top, bottom], value=-float("inf"))
+ x = F.pad(x, [left, right, top, bottom])
84
85
x = self.pool(x)
86
return x
0 commit comments