How to use sgdkn/pose-classification-hp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="sgdkn/pose-classification-hp") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("sgdkn/pose-classification-hp") model = AutoModelForImageClassification.from_pretrained("sgdkn/pose-classification-hp")
Hi! I'm interested in this model but I can't find the related inference code. Could anyone help me?
Here you are. https://github.com/open-mmlab/mmpose
· Sign up or log in to comment