Instructions to use psyne/AIResnetClone with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use psyne/AIResnetClone with timm:
import timm model = timm.create_model("hf-hub:psyne/AIResnetClone", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Download config.json from psyne/AIResnetClone: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/psyne/AIResnetClone/resolve/main/config.json
- Command line
-
hf download hf://psyne/AIResnetClone/config.json
-
curl -L -o config.json https://huggingface.co/psyne/AIResnetClone/resolve/main/config.json
465 Bytes
| { | |
| "url": "https://download.pytorch.org/models/resnet18-5c106cde.pth", | |
| "num_classes": 2, | |
| "input_size": [ | |
| 3, | |
| 224, | |
| 224 | |
| ], | |
| "pool_size": [ | |
| 7, | |
| 7 | |
| ], | |
| "crop_pct": 0.875, | |
| "interpolation": "bilinear", | |
| "mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "first_conv": "conv1", | |
| "classifier": "fc", | |
| "architecture": "resnet18", | |
| "num_features": 512, | |
| "labels": [ | |
| "Not AI", | |
| "AI" | |
| ] | |
| } |