Instructions to use hungdang1610/gender with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hungdang1610/gender with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hungdang1610/gender") 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("hungdang1610/gender") model = AutoModelForImageClassification.from_pretrained("hungdang1610/gender") - Notebooks
- Google Colab
- Kaggle
Update preprocessor_config.json
Browse files- preprocessor_config.json +2 -2
preprocessor_config.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
| 16 |
"resample": 2,
|
| 17 |
"rescale_factor": 0.00392156862745098,
|
| 18 |
"size": {
|
| 19 |
-
"height":
|
| 20 |
-
"width":
|
| 21 |
}
|
| 22 |
}
|
|
|
|
| 16 |
"resample": 2,
|
| 17 |
"rescale_factor": 0.00392156862745098,
|
| 18 |
"size": {
|
| 19 |
+
"height": 224,
|
| 20 |
+
"width": 224
|
| 21 |
}
|
| 22 |
}
|