Image Classification
Transformers
Safetensors
vit
image-classification, screenshots detection
Generated from Trainer
Instructions to use al-css/Screenshots_detection_to_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use al-css/Screenshots_detection_to_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="al-css/Screenshots_detection_to_classification") 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("al-css/Screenshots_detection_to_classification") model = AutoModelForImageClassification.from_pretrained("al-css/Screenshots_detection_to_classification") - Notebooks
- Google Colab
- Kaggle
preprocessor_config.json
#1
by Davidal07 - opened
Hi, are there any preprocessor_config.json file for this model?
Davidal07 changed discussion status to closed
Any for the google/vit-base-patch16-224, in another model finetuned just like this, i've used:
{
"do_normalize": true,
"do_resize": true,
"image_mean": [0.5, 0.5, 0.5],
"image_std": [0.5, 0.5, 0.5],
"size": 224
}