Upload 6 files
Browse files- .gitattributes +1 -0
- README.md +39 -0
- config.json +19 -0
- saved_model/fingerprint.pb +1 -0
- saved_model/saved_model.pb +0 -0
- saved_model/variables/variables.data-00000-of-00001 +3 -0
- saved_model/variables/variables.index +0 -0
.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
saved_model/variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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/Salvatore7262/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 @@
|
|
|
|
|
|
|
| 1 |
+
�����ӏ��̌�怮��������� ����ʅ��R(棵�Q2:3727459455038824342
|
saved_model/saved_model.pb
ADDED
|
Binary file (60.3 kB). View file
|
|
|
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
|
Binary file (1.09 kB). View file
|
|
|