Instructions to use 3una/finetuned-AffectNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 3una/finetuned-AffectNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="3una/finetuned-AffectNet") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("3una/finetuned-AffectNet") model = AutoModelForImageClassification.from_pretrained("3una/finetuned-AffectNet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 68
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:ea3d9c5a6f6e0449bcc441126a01b996fffaf0410641efb56678431161efc20csize 343098784123version https://git-lfs.github.com/spec/v1oid sha256:d2edeb2ad489fd9e6d2dda23197f915a734e1a641de2cc61d95a1800a64abdf8size 343098784
123version https://git-lfs.github.com/spec/v1oid sha256:9f1e8f077b87d8f3079bda57f69b65cf3554dbd818e644b6da21b110edfa71besize 198520123version https://git-lfs.github.com/spec/v1oid sha256:544a5f985a4ceeeaec62d8032e49fd4ef9617cdafa46bddde75c6e438a561de8size 201355
model.safetensors+1-1
runs/Jan05_11-00-45_2247cd98422c/events.out.tfevents.1704452460.2247cd98422c.4324.0+2-2