Image Classification
Transformers
PyTorch
TensorBoard
Safetensors
vit
huggingpics
Eval Results (legacy)
Instructions to use rizvandwiki/gender-classification-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rizvandwiki/gender-classification-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="rizvandwiki/gender-classification-2") 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("rizvandwiki/gender-classification-2") model = AutoModelForImageClassification.from_pretrained("rizvandwiki/gender-classification-2") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
25d74d6
1
Parent(s): ece5bec
commit files to HF hub
Browse files- README.md +1 -1
- config.json +1 -1
- images/female.jpg +2 -2
- images/male.jpg +2 -2
- pytorch_model.bin +1 -1
- runs/events.out.tfevents.1670817083.320584c06762 +3 -0
README.md
CHANGED
|
@@ -15,7 +15,7 @@ model-index:
|
|
| 15 |
metrics:
|
| 16 |
- name: Accuracy
|
| 17 |
type: accuracy
|
| 18 |
-
value: 0.
|
| 19 |
---
|
| 20 |
|
| 21 |
# gender-classification-2
|
|
|
|
| 15 |
metrics:
|
| 16 |
- name: Accuracy
|
| 17 |
type: accuracy
|
| 18 |
+
value: 0.9722222089767456
|
| 19 |
---
|
| 20 |
|
| 21 |
# gender-classification-2
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "rizvandwiki/gender-classification",
|
| 3 |
"architectures": [
|
| 4 |
"ViTForImageClassification"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "rizvandwiki/gender-classification-2",
|
| 3 |
"architectures": [
|
| 4 |
"ViTForImageClassification"
|
| 5 |
],
|
images/female.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
images/male.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343265965
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5f00785cc8cd9cdc6f6fe4fcfd38d62ed034ae675ae1d7f07dc2b094878d8b3
|
| 3 |
size 343265965
|
runs/events.out.tfevents.1670817083.320584c06762
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b1e5a6e284edd55ccd2af1260e579aecd441a28e08f2c23d05e1b188ad94a67
|
| 3 |
+
size 1816
|