Bingsu/Human_Action_Recognition
Viewer • Updated • 18k • 252 • 31
How to use tensorkelechi/HAR_mobilenet with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="tensorkelechi/HAR_mobilenet")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("tensorkelechi/HAR_mobilenet", dtype="auto")This model has been pushed to the Hub using the PytorchModelHubMixin integration: