Instructions to use qubvel-hf/ahnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qubvel-hf/ahnet with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("qubvel-hf/ahnet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from qubvel-hf/ahnet: direct link, hf CLI and curl.
- Browser
- Download file 207 Bytes
-
https://huggingface.co/qubvel-hf/ahnet/resolve/main/config.json
- Command line
-
hf download hf://qubvel-hf/ahnet/config.json
-
curl -L -o config.json https://huggingface.co/qubvel-hf/ahnet/resolve/main/config.json
207 Bytes
| { | |
| "in_channels": 1, | |
| "layers": [ | |
| 3, | |
| 4, | |
| 6, | |
| 3 | |
| ], | |
| "out_channels": 1, | |
| "pretrained": false, | |
| "progress": true, | |
| "psp_block_num": 4, | |
| "spatial_dims": 3, | |
| "upsample_mode": "transpose" | |
| } |