Instructions to use frgfm/rexnet1_0x with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use frgfm/rexnet1_0x with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="frgfm/rexnet1_0x") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("frgfm/rexnet1_0x", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from frgfm/rexnet1_0x: direct link, hf CLI and curl.
- Browser
- Download file 296 Bytes
-
https://huggingface.co/frgfm/rexnet1_0x/resolve/main/config.json
- Command line
-
hf download hf://frgfm/rexnet1_0x/config.json
-
curl -L -o config.json https://huggingface.co/frgfm/rexnet1_0x/resolve/main/config.json
296 Bytes
| {"mean": [0.485, 0.456, 0.406], "std": [0.229, 0.224, 0.225], "arch": "rexnet1_0x", "interpolation": "bilinear", "input_shape": [3, 224, 224], "classes": ["tench", "English springer", "cassette player", "chain saw", "church", "French horn", "garbage truck", "gas pump", "golf ball", "parachute"]} |