Skip to content

Commit e846b2c

Browse files
committed
Add 384x384 in12k pretrain and finetune for convnext_nano
1 parent dafe866 commit e846b2c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

timm/models/convnext.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,9 @@ def _cfgv2(url='', **kwargs):
661661
url='https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/convnext_tiny_hnf_a2h-ab7e9df2.pth',
662662
hf_hub_id='timm/',
663663
crop_pct=0.95, test_input_size=(3, 288, 288), test_crop_pct=1.0),
664+
'convnext_nano.r384_in12k_ft_in1k': _cfg(
665+
hf_hub_id='timm/',
666+
input_size=(3, 384, 384), pool_size=(12, 12), crop_pct=1.0),
664667

665668
'convnext_tiny.in12k_ft_in1k_384': _cfg(
666669
hf_hub_id='timm/',
@@ -672,6 +675,12 @@ def _cfgv2(url='', **kwargs):
672675
'convnext_nano.in12k': _cfg(
673676
hf_hub_id='timm/',
674677
crop_pct=0.95, num_classes=11821),
678+
'convnext_nano.r384_in12k': _cfg(
679+
hf_hub_id='timm/',
680+
input_size=(3, 384, 384), pool_size=(12, 12), crop_pct=1.0, num_classes=11821),
681+
'convnext_nano.r384_ad_in12k': _cfg(
682+
hf_hub_id='timm/',
683+
input_size=(3, 384, 384), pool_size=(12, 12), crop_pct=1.0, num_classes=11821),
675684
'convnext_tiny.in12k': _cfg(
676685
hf_hub_id='timm/',
677686
crop_pct=0.95, num_classes=11821),

0 commit comments

Comments
 (0)