Instructions to use apple/mobileclip_s2_timm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use apple/mobileclip_s2_timm with timm:
import timm model = timm.create_model("hf_hub:apple/mobileclip_s2_timm", pretrained=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "architecture": "fastvit_mci2", | |
| "num_classes": 512, | |
| "num_features": 1280, | |
| "global_pool": "avg", | |
| "pretrained_cfg": { | |
| "tag": "apple_mclip", | |
| "custom_load": false, | |
| "input_size": [ | |
| 3, | |
| 256, | |
| 256 | |
| ], | |
| "fixed_input_size": false, | |
| "interpolation": "bicubic", | |
| "crop_pct": 0.95, | |
| "crop_mode": "center", | |
| "mean": [ | |
| 0.0, | |
| 0.0, | |
| 0.0 | |
| ], | |
| "std": [ | |
| 1.0, | |
| 1.0, | |
| 1.0 | |
| ], | |
| "num_classes": 512, | |
| "pool_size": [ | |
| 8, | |
| 8 | |
| ], | |
| "first_conv": [ | |
| "stem.0.conv_kxk.0.conv", | |
| "stem.0.conv_scale.conv" | |
| ], | |
| "classifier": "head.fc" | |
| } | |
| } |