Run this model with HF Jobs
Run tinylens/image-orientation-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/tinylens/image-orientation-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/tinylens/image-orientation-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use tinylens/image-orientation-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use tinylens/image-orientation-base with timm:
import timm model = timm.create_model("hf-hub:tinylens/image-orientation-base", pretrained=True) - Notebooks
- Google Colab
- Kaggle
File size: 431 Bytes
c508847 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"size": 224,
"resize": "letterbox: keep aspect ratio, longest side to size, bicubic, pad to a square",
"pad_value": 128,
"input": "pixel_values, float32 RGB in [0, 1], shape [N, 3, size, size]; normalization is inside the ONNX model",
"output": "probs, shape [N, 4]",
"classes": [
"0",
"90",
"180",
"270"
],
"class_meaning": "the image is rotated clockwise by this many degrees; rotate counter-clockwise to fix"
} |