Instructions to use Sumsub/aladdin-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use Sumsub/aladdin-detector with timm:
import timm model = timm.create_model("hf-hub:Sumsub/aladdin-detector", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Download config.json from Sumsub/aladdin-detector: direct link, hf CLI and curl.
- Browser
- Download file 742 Bytes
-
https://huggingface.co/Sumsub/aladdin-detector/resolve/main/config.json
- Command line
-
hf download hf://Sumsub/aladdin-detector/config.json
-
curl -L -o config.json https://huggingface.co/Sumsub/aladdin-detector/resolve/main/config.json
742 Bytes
| { | |
| "architecture": "convnext_tiny", | |
| "num_classes": 1, | |
| "num_features": 768, | |
| "pretrained_cfg": { | |
| "tag": "fb_in22k_ft_in1k", | |
| "custom_load": false, | |
| "input_size": [ | |
| 3, | |
| 512, | |
| 512 | |
| ], | |
| "test_input_size": [ | |
| 3, | |
| 512, | |
| 512 | |
| ], | |
| "fixed_input_size": false, | |
| "interpolation": "bilinear", | |
| "crop_pct": 1.0, | |
| "test_crop_pct": 1.0, | |
| "crop_mode": "center", | |
| "mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "num_classes": 1, | |
| "pool_size": [ | |
| 7, | |
| 7 | |
| ], | |
| "first_conv": "stem.0", | |
| "classifier": "head.fc", | |
| "license": "cc-by-nc-sa-4.0", | |
| "label_names": [ | |
| "aladdin_swap" | |
| ] | |
| } | |
| } |