Mick228 commited on
Commit
48da8a7
·
verified ·
1 Parent(s): 91ea6e4

Publish SideView_Face_2P_v1

Browse files
Files changed (5) hide show
  1. README.md +67 -0
  2. SideView_Face_2P_v1.pt +3 -0
  3. keypoints.txt +15 -0
  4. labelforge_model.json +130 -0
  5. labels.csv +1 -0
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: facemap
3
+ pipeline_tag: keypoint-detection
4
+ tags:
5
+ - labelforge
6
+ - labelforge-base-model
7
+ - facemap
8
+ - pose-estimation
9
+ - mouse
10
+ - side-view
11
+ - face
12
+ - 2p
13
+ ---
14
+
15
+ # SideView_Face_2P_v1
16
+
17
+ 2P side-view face and pose tracking. A LabelForge base model from the Musall Lab.
18
+
19
+ | | |
20
+ |---|---|
21
+ | View | Side View |
22
+ | Target | Face |
23
+ | Variant | 2P |
24
+ | Version | v1 |
25
+ | Status | final |
26
+ | Backend | Facemap |
27
+ | Keypoints | 15 |
28
+ | Source model | `refined_model_2P_newDataset_481_R1` |
29
+
30
+ ## Keypoints
31
+
32
+ Listed in model-output order. **Do not reorder them**; groups, colours and shortcuts can be changed in LabelForge without affecting the model.
33
+
34
+ | # | Keypoint | Group |
35
+ |---|---|---|
36
+ | 1 | `eye(back)` | Eye |
37
+ | 2 | `eye(bottom)` | Eye |
38
+ | 3 | `eye(front)` | Eye |
39
+ | 4 | `eye(top)` | Eye |
40
+ | 5 | `lowerlip` | Mouth |
41
+ | 6 | `mouth` | Mouth |
42
+ | 7 | `nose(bottom)` | Nose |
43
+ | 8 | `nose(r)` | Nose |
44
+ | 9 | `nose(tip)` | Nose |
45
+ | 10 | `nose(top)` | Nose |
46
+ | 11 | `nosebridge` | Nose |
47
+ | 12 | `paw` | Paw |
48
+ | 13 | `whisker(I)` | Whiskers |
49
+ | 14 | `whisker(III)` | Whiskers |
50
+ | 15 | `whisker(II)` | Whiskers |
51
+
52
+ ## Use in LabelForge
53
+
54
+ Download the model from LabelForge's **Model Library**, or select `SideView_Face_2P_v1.pt` directly. `labelforge_model.json` sets the version, keypoint groups, colours and locked keypoint order automatically.
55
+
56
+ To fetch it from Python:
57
+
58
+ ```python
59
+ from huggingface_hub import snapshot_download
60
+ path = snapshot_download("MusallLab/LabelForge-SideView_Face_2P_v1")
61
+ ```
62
+
63
+ ## Files
64
+
65
+ - `SideView_Face_2P_v1.pt`: Facemap model weights
66
+ - `labelforge_model.json`: LabelForge metadata (keypoint schema, version)
67
+ - `labels.csv`, `keypoints.txt`: keypoint order
SideView_Face_2P_v1.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c8c3a9ad5247f5723f2e56ab1f43d6c09e3e8f016f297e12d0b99e7a84be104
3
+ size 8639868
keypoints.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ eye(back)
2
+ eye(bottom)
3
+ eye(front)
4
+ eye(top)
5
+ lowerlip
6
+ mouth
7
+ nose(bottom)
8
+ nose(r)
9
+ nose(tip)
10
+ nose(top)
11
+ nosebridge
12
+ paw
13
+ whisker(I)
14
+ whisker(III)
15
+ whisker(II)
labelforge_model.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "model_name": "SideView_Face_2P_v1",
4
+ "model_family": "SideView_Face_2P",
5
+ "display_name": "Face",
6
+ "variant": "2P",
7
+ "version": 1,
8
+ "backend": "facemap",
9
+ "model_path": "SideView_Face_2P_v1.pt",
10
+ "parent_model": null,
11
+ "keypoint_schema": {
12
+ "locked": true,
13
+ "groups": [
14
+ {
15
+ "name": "Eye",
16
+ "palette": "Blue",
17
+ "keypoints": [
18
+ {
19
+ "name": "eye(back)",
20
+ "color": "#5DA9E9",
21
+ "shortcut": ""
22
+ },
23
+ {
24
+ "name": "eye(bottom)",
25
+ "color": "#4A98DD",
26
+ "shortcut": ""
27
+ },
28
+ {
29
+ "name": "eye(front)",
30
+ "color": "#3787D1",
31
+ "shortcut": ""
32
+ },
33
+ {
34
+ "name": "eye(top)",
35
+ "color": "#2476C5",
36
+ "shortcut": ""
37
+ }
38
+ ]
39
+ },
40
+ {
41
+ "name": "Mouth",
42
+ "palette": "Red",
43
+ "keypoints": [
44
+ {
45
+ "name": "lowerlip",
46
+ "color": "#ED7A78",
47
+ "shortcut": ""
48
+ },
49
+ {
50
+ "name": "mouth",
51
+ "color": "#E86866",
52
+ "shortcut": ""
53
+ }
54
+ ]
55
+ },
56
+ {
57
+ "name": "Nose",
58
+ "palette": "Orange",
59
+ "keypoints": [
60
+ {
61
+ "name": "nose(bottom)",
62
+ "color": "#E7A15E",
63
+ "shortcut": ""
64
+ },
65
+ {
66
+ "name": "nose(r)",
67
+ "color": "#DF9550",
68
+ "shortcut": ""
69
+ },
70
+ {
71
+ "name": "nose(tip)",
72
+ "color": "#D78A42",
73
+ "shortcut": ""
74
+ },
75
+ {
76
+ "name": "nose(top)",
77
+ "color": "#D18B47",
78
+ "shortcut": ""
79
+ },
80
+ {
81
+ "name": "nosebridge",
82
+ "color": "#C47735",
83
+ "shortcut": ""
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "name": "Paw",
89
+ "palette": "Green",
90
+ "keypoints": [
91
+ {
92
+ "name": "paw",
93
+ "color": "#74D99B",
94
+ "shortcut": ""
95
+ }
96
+ ]
97
+ },
98
+ {
99
+ "name": "Whiskers",
100
+ "palette": "Purple",
101
+ "keypoints": [
102
+ {
103
+ "name": "whisker(I)",
104
+ "color": "#B38AE5",
105
+ "shortcut": ""
106
+ },
107
+ {
108
+ "name": "whisker(III)",
109
+ "color": "#A477DA",
110
+ "shortcut": ""
111
+ },
112
+ {
113
+ "name": "whisker(II)",
114
+ "color": "#9564CF",
115
+ "shortcut": ""
116
+ }
117
+ ]
118
+ }
119
+ ]
120
+ },
121
+ "training_dataset": null,
122
+ "keypoint_source": "labels.csv",
123
+ "training_settings": {},
124
+ "created_at": "2026-08-26T15:36:37.6153211Z",
125
+ "imported_external_model": true,
126
+ "status": "final",
127
+ "purpose": "2P side-view face and pose tracking",
128
+ "original_model_path": "\\\\NASKAMPA\\lts\\Team\\Mick\\FM_Side_View\\2 Photon\\New_Dataset\\Current_Model\\refined_model_2P_newDataset_481_R1.pt",
129
+ "source_model_name": "refined_model_2P_newDataset_481_R1"
130
+ }
labels.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ eye(back)_x,eye(back)_y,eye(bottom)_x,eye(bottom)_y,eye(front)_x,eye(front)_y,eye(top)_x,eye(top)_y,lowerlip_x,lowerlip_y,mouth_x,mouth_y,nose(bottom)_x,nose(bottom)_y,nose(r)_x,nose(r)_y,nose(tip)_x,nose(tip)_y,nose(top)_x,nose(top)_y,nosebridge_x,nosebridge_y,paw_x,paw_y,whisker(I)_x,whisker(I)_y,whisker(III)_x,whisker(III)_y,whisker(II)_x,whisker(II)_y