Instructions to use lrzjason/hand-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lrzjason/hand-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="lrzjason/hand-classifier") 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("lrzjason/hand-classifier") model = AutoModelForImageClassification.from_pretrained("lrzjason/hand-classifier") - Notebooks
- Google Colab
- Kaggle
Update README.md (Fix)
#1
by qpqpqpqpqpqp - opened
README.md
CHANGED
|
@@ -2,12 +2,13 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
Limitation:
|
| 10 |
-
|
|
|
|
| 11 |
|
| 12 |
```
|
| 13 |
inputs = image_processor(image, return_tensors="pt")
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
|
| 5 |
+
A hand classifier detect the image is showing a left hand or a right hand
|
| 6 |
|
| 7 |
+
It was trained on the hagrid dataset on the vit model, google/vit-base-patch16-224-in21k.
|
| 8 |
|
| 9 |
Limitation:
|
| 10 |
+
|
| 11 |
+
it can't predict both hands and no hands.
|
| 12 |
|
| 13 |
```
|
| 14 |
inputs = image_processor(image, return_tensors="pt")
|