File size: 925 Bytes
ef073ad ec50cef c918d58 ef073ad |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
---
license: apache-2.0
metrics:
- accuracy
- f1
base_model:
- google/vit-base-patch16-224-in21k
pipeline_tag: image-classification
---
Returns the hair type (with 93% accuracy) based on facial image.
See https://www.kaggle.com/code/dima806/hair-type-image-detection-vit for details.

```
Classification report:
precision recall f1-score support
curly 0.9109 0.8932 0.9020 206
dreadlocks 0.9667 0.9902 0.9783 205
kinky 0.9423 0.9561 0.9492 205
straight 0.9585 0.8981 0.9273 206
wavy 0.8651 0.9029 0.8836 206
accuracy 0.9280 1028
macro avg 0.9287 0.9281 0.9281 1028
weighted avg 0.9287 0.9280 0.9280 1028
``` |