jonathandinu
commited on
Commit
•
b6e0b89
1
Parent(s):
65972ac
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
@@ -21,6 +21,30 @@ datasets:
|
|
21 |
|
22 |
## Usage in Python
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
```python
|
25 |
import torch
|
26 |
from torch import nn
|
|
|
21 |
|
22 |
## Usage in Python
|
23 |
|
24 |
+
Exhaustive list of labels can be extracted from [config.json](https://huggingface.co/jonathandinu/face-parsing/blob/65972ac96180b397f86fda0980bbe68e6ee01b8f/config.json#L30).
|
25 |
+
|
26 |
+
| id | label | note |
|
27 |
+
| :-: | :--------: | :---------------- |
|
28 |
+
| 0 | background | |
|
29 |
+
| 1 | skin | |
|
30 |
+
| 2 | nose | |
|
31 |
+
| 3 | eye_g | eyeglasses |
|
32 |
+
| 4 | l_eye | left eye |
|
33 |
+
| 5 | r_eye | right eye |
|
34 |
+
| 6 | l_brow | left eyebrow |
|
35 |
+
| 7 | r_brow | right eyebrow |
|
36 |
+
| 8 | l_ear | left ear |
|
37 |
+
| 9 | r_ear | right ear |
|
38 |
+
| 10 | mouth | area between lips |
|
39 |
+
| 11 | u_lip | upper lip |
|
40 |
+
| 12 | l_lip | lower lip |
|
41 |
+
| 13 | hair | |
|
42 |
+
| 14 | hat | |
|
43 |
+
| 15 | ear_r | earring |
|
44 |
+
| 16 | neck_l | necklace |
|
45 |
+
| 17 | neck | |
|
46 |
+
| 18 | cloth | clothing |
|
47 |
+
|
48 |
```python
|
49 |
import torch
|
50 |
from torch import nn
|