Skip to content

Commit 42c0bcd

Browse files
authored
Merge pull request #356 from zylo117/revert-352-patch-1
Revert "Update utils_extra.py"
2 parents 1831d75 + 28325e9 commit 42c0bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

efficientnet/utils_extra.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def forward(self, x):
8080
top = extra_v // 2
8181
bottom = extra_v - top
8282

83-
x = F.pad(x, [left, right, top, bottom], value=-float("inf"))
83+
x = F.pad(x, [left, right, top, bottom])
8484

8585
x = self.pool(x)
8686
return x

0 commit comments

Comments
 (0)