Skip to content

Commit 4b8cfa6

Browse files
committed
Add convnext_xxlarge CLIP image tower weights, version 0.8.15dev0
1 parent 80a0bb2 commit 4b8cfa6

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ And a big thanks to all GitHub sponsors who helped with some of my costs before
2424
* ❗Updates after Oct 10, 2022 are available in 0.8.x pre-releases (`pip install --pre timm`) or cloning main❗
2525
* Stable releases are 0.6.x and available by normal pip install or clone from [0.6.x](https://github.com/rwightman/pytorch-image-models/tree/0.6.x) branch.
2626

27+
### Feb 26, 2023
28+
* Add ConvNeXt-XXLarge CLIP pretrained image tower weights for fine-tune & features (fine-tuning TBD) -- see [model card](https://huggingface.co/laion/CLIP-convnext_xxlarge-laion2B-s34B-b82K-augreg-soup)
29+
* Update `convnext_xxlarge` default LayerNorm eps to 1e-5 (for CLIP weights, improved stability)
30+
* 0.8.15dev0
31+
2732
### Feb 20, 2023
2833
* Add 320x320 `convnext_large_mlp.clip_laion2b_ft_320` and `convnext_lage_mlp.clip_laion2b_ft_soup_320` CLIP image tower weights for features & fine-tune
2934
* 0.8.13dev0 pypi release for latest changes w/ move to huggingface org

timm/models/convnext.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,16 @@ def _cfgv2(url='', **kwargs):
783783
hf_hub_filename='open_clip_pytorch_model.bin',
784784
mean=OPENAI_CLIP_MEAN, std=OPENAI_CLIP_STD,
785785
input_size=(3, 320, 320), pool_size=(10, 10), crop_pct=1.0, num_classes=768),
786+
'convnext_xxlarge.clip_laion2b_soup': _cfg(
787+
hf_hub_id='laion/CLIP-convnext_xxlarge-laion2B-s34B-b82K-augreg-soup',
788+
hf_hub_filename='open_clip_pytorch_model.bin',
789+
mean=OPENAI_CLIP_MEAN, std=OPENAI_CLIP_STD,
790+
input_size=(3, 256, 256), pool_size=(8, 8), crop_pct=1.0, num_classes=1024),
791+
'convnext_xxlarge.clip_laion2b_rewind': _cfg(
792+
hf_hub_id='laion/CLIP-convnext_xxlarge-laion2B-s34B-b82K-augreg-rewind',
793+
hf_hub_filename='open_clip_pytorch_model.bin',
794+
mean=OPENAI_CLIP_MEAN, std=OPENAI_CLIP_STD,
795+
input_size=(3, 256, 256), pool_size=(8, 8), crop_pct=1.0, num_classes=1024),
786796
})
787797

788798

timm/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.8.14dev0'
1+
__version__ = '0.8.15dev0'

0 commit comments

Comments
 (0)