Description
Pretrained VIT model, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.image_classifier_vit_age_classifier
is a English model originally trained by nateraw.
Predicted Entities
60-70
, 40-50
, 70-80
, 80-90
, 10-20
, 50-60
, 90-100
, 30-40
, 0-10
, 20-30
How to use
pipeline = PretrainedPipeline('pipeline_image_classifier_vit_age_classifier', lang = 'en')
annotations = pipeline.transform(imageDF)
val pipeline = new PretrainedPipeline("pipeline_image_classifier_vit_age_classifier", lang = "en")
val annotations = pipeline.transform(imageDF)
Model Information
Model Name: | pipeline_image_classifier_vit_age_classifier |
Type: | pipeline |
Compatibility: | Spark NLP 4.2.1+ |
License: | Open Source |
Edition: | Official |
Language: | en |
Size: | 321.9 MB |
Included Models
- ImageAssembler
- ViTForImageClassification