Download examples/example_usage.py from antonypamo/RRF: direct link, hf CLI and curl.
- Browser
- Download file 220 Bytes
-
https://huggingface.co/antonypamo/RRF/resolve/refs%2Fpr%2F2/examples/example_usage.py
- Command line
-
hf download hf://antonypamo/RRF@refs/pr/2/examples/example_usage.py
-
curl -L -o example_usage.py https://huggingface.co/antonypamo/RRF/resolve/refs%2Fpr%2F2/examples/example_usage.py
220 Bytes
| import torch | |
| from model import * | |
| from inference import load_model | |
| if __name__ == "__main__": | |
| model = load_model("model.pt") | |
| x = torch.randn(1, 3, 224, 224) | |
| y = model(x) | |
| print("Example output:", y.shape) | |