Instructions to use Preeda/custom-resnet18-model-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Preeda/custom-resnet18-model-2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Preeda/custom-resnet18-model-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from Preeda/custom-resnet18-model-2: direct link, hf CLI and curl.
- Browser
- Download file 22 Bytes
-
https://huggingface.co/Preeda/custom-resnet18-model-2/resolve/main/config.json
- Command line
-
hf download hf://Preeda/custom-resnet18-model-2/config.json
-
curl -L -o config.json https://huggingface.co/Preeda/custom-resnet18-model-2/resolve/main/config.json
22 Bytes
| { | |
| "num_classes": 2 | |
| } |