Download nets/utils.py from sinara-seth/model_face_recognition_2026: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/sinara-seth/model_face_recognition_2026/resolve/main/nets/utils.py
- Command line
-
hf download hf://spaces/sinara-seth/model_face_recognition_2026/nets/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/sinara-seth/model_face_recognition_2026/resolve/main/nets/utils.py
253 Bytes
| from nets.shufflenetv2 import ShuffleNetV2 | |
| def get_model(arch="shufflenetv2_0.5x", num_classes=2): | |
| if arch == "shufflenetv2_0.5x": | |
| return ShuffleNetV2(num_classes=num_classes) | |
| else: | |
| raise ValueError("Unsupported architecture") | |