Skip to content

Commit 2d83752

Browse files
committed
Fix default interpolation/crop of largest 2 ResNeSt models
1 parent f225ae8 commit 2d83752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

timm/models/resnest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ def _cfg(url='', **kwargs):
4242
input_size=(3, 256, 256), pool_size=(8, 8)),
4343
'resnest200e': _cfg(
4444
url='https://hangzh.s3.amazonaws.com/encoding/models/resnest200-75117900.pth',
45-
input_size=(3, 320, 320), pool_size=(10, 10)),
45+
input_size=(3, 320, 320), pool_size=(10, 10), crop_pct=0.909, interpolation='bicubic'),
4646
'resnest269e': _cfg(
4747
url='https://hangzh.s3.amazonaws.com/encoding/models/resnest269-0cc87c48.pth',
48-
input_size=(3, 416, 416), pool_size=(13, 13)),
48+
input_size=(3, 416, 416), pool_size=(13, 13), crop_pct=0.928, interpolation='bicubic'),
4949
'resnest50d_4s2x40d': _cfg(
5050
url='https://hangzh.s3.amazonaws.com/encoding/models/resnest50_fast_4s2x40d-41d14ed0.pth',
5151
interpolation='bicubic'),

0 commit comments

Comments
 (0)