Upload 6 files
Browse files- README.md +36 -0
- config.json +19 -0
- saved_model/fingerprint.pb +3 -0
- saved_model/saved_model.pb +3 -0
- saved_model/variables/variables.data-00000-of-00001 +3 -0
- saved_model/variables/variables.index +3 -0
README.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- tensorflow
|
| 5 |
+
- image-classification
|
| 6 |
license: mit
|
| 7 |
+
datasets: []
|
| 8 |
+
pipeline_tag: image-classification
|
| 9 |
+
library_name: tensorflow
|
| 10 |
---
|
| 11 |
+
|
| 12 |
+
# Wrist Undertone Classifier 🩵🩷💛
|
| 13 |
+
|
| 14 |
+
This TensorFlow model predicts whether a user's wrist undertone is **Cool**, **Warm**, or **Neutral** based on an uploaded image of their wrist.
|
| 15 |
+
|
| 16 |
+
## 🧠 Model Details
|
| 17 |
+
|
| 18 |
+
- Framework: TensorFlow (SavedModel format)
|
| 19 |
+
- Input: Wrist image (`.jpg`, `.png`, etc.)
|
| 20 |
+
- Output: One of three classes:
|
| 21 |
+
- `cool`
|
| 22 |
+
- `warm`
|
| 23 |
+
- `neutral`
|
| 24 |
+
|
| 25 |
+
## 🖼️ Example Usage (Python)
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
from huggingface_hub import InferenceClient
|
| 29 |
+
|
| 30 |
+
client = InferenceClient("https://huggingface.co/Empire72/ronaundertone-detector")
|
| 31 |
+
|
| 32 |
+
with open("my_wrist.jpg", "rb") as f:
|
| 33 |
+
result = client.post(
|
| 34 |
+
json=None,
|
| 35 |
+
data=f,
|
| 36 |
+
headers={"Content-Type": "image/jpeg"},
|
| 37 |
+
)
|
| 38 |
+
|
| 39 |
+
print(result.json())
|
config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": ["TensorFlowImageClassificationModel"],
|
| 3 |
+
"pipeline_tag": "image-classification",
|
| 4 |
+
"library_name": "tensorflow",
|
| 5 |
+
"tags": ["image-classification", "tensorflow", "undertone", "skin-analysis"],
|
| 6 |
+
"datasets": [],
|
| 7 |
+
"language": "en",
|
| 8 |
+
"license": "mit",
|
| 9 |
+
"widget": [
|
| 10 |
+
{
|
| 11 |
+
"example_title": "Cool undertone wrist",
|
| 12 |
+
"example_url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/cat-example.jpg"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"example_title": "Warm undertone wrist",
|
| 16 |
+
"example_url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/dog-example.jpg"
|
| 17 |
+
}
|
| 18 |
+
]
|
| 19 |
+
}
|
saved_model/fingerprint.pb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ed209e7f5cceb8c31e523af5fa4b3b24c6691adc4df4ed77e133a872dc4ef25
|
| 3 |
+
size 77
|
saved_model/saved_model.pb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e753dec75b7174d13b618caf89c3c2fb5758ffd89af5b9d5cee8e00144cf307
|
| 3 |
+
size 60319
|
saved_model/variables/variables.data-00000-of-00001
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:601a21626311e73802a6e70be1203c9906a9ba93a678b14417e52d680f66de3d
|
| 3 |
+
size 751022
|
saved_model/variables/variables.index
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9c698b9a8dd96bac5a8323bc26a39f7b33abeb6955006871f8034e921efc53e
|
| 3 |
+
size 1086
|