Hilda-Azimi commited on
Commit
4f49d38
·
verified ·
1 Parent(s): 14ac2e2

Publish v1.0

Browse files
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: lightning-pose
3
+ tags:
4
+ - lightning-pose
5
+ - pose-estimation
6
+ trained_by: "Anna Lakunina"
7
+ published_by: "Hilda Azimi"
8
+ data_name: "DATA_NAME"
9
+ data_address: "he S3 path or data asset ID"
10
+ backbone: "resnet50_animal_ap10k"
11
+ losses_used: ['pca_singleview']
12
+ num_keypoints: 18
13
+ keypoint_names: ['eye_top', 'eye_right', 'eye_bottom', 'eye_left', 'pupil_top', 'pupil_right', 'pupil_bottom', 'pupil_left', 'pupil_top_right', 'pupil_bottom_right', 'pupil_bottom_left', 'pupil_top_left', 'reflection', 'nostril', 'nose_tip', 'whisker_1', 'whisker_2', 'whisker_3']
14
+ num_views: 1
15
+ views: ['single']
16
+ epochs: "300-300"
17
+ train_prob: 0.95
18
+ val_prob: 0.05
19
+ latest_version: "v1.0"
20
+ perf_metric: "supervised_rmse"
21
+ perf_value: 0.64
22
+ perf_unit: "resized-px"
23
+ perf_set: "validation"
24
+ ---
25
+
26
+ ## Lightning Pose Model
27
+
28
+ Published by **Hilda Azimi** · Trained by **Anna Lakunina** on **DATA_NAME** (`he S3 path or data asset ID`).
29
+
30
+ - Backbone: `resnet50_animal_ap10k`
31
+ - Losses used: `['pca_singleview']`
32
+ - Keypoints (18): `eye_top, eye_right, eye_bottom, eye_left, pupil_top, pupil_right, pupil_bottom, pupil_left, pupil_top_right, pupil_bottom_right, pupil_bottom_left, pupil_top_left, reflection, nostril, nose_tip, whisker_1, whisker_2, whisker_3`
33
+ - Epochs: 300-300, train/val split: 0.95/0.05
34
+ - Supervised RMSE (validation): **0.64 resized-px**
35
+
36
+ ## Performance
37
+
38
+ **Supervised RMSE** (from TensorBoard logs, unit: resized-px - measured on the resized training image, not original-frame pixels). **Lower is better.**
39
+ _No per-keypoint pixel-error file was found; the numbers below come from the training logs instead._
40
+ _Source: `events.out.tfevents.1736539402.f2768a15001d.48.0`_
41
+ | Set | Final RMSE | Best RMSE |
42
+ |---|---|---|
43
+ | train | 0.34 | 0.29 |
44
+ | validation | 0.77 | 0.64 |
45
+
46
+ ## Changelog
47
+
48
+ ### v1.0
49
+
50
+ what this model is / what changed
epoch=219-step=7260-best.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbbd336d63f9d855da91adac646a607df5d48f38e5e8b638d1176d8cd2d3aada
3
+ size 283619817
logs/events.out.tfevents.1736539402.f2768a15001d.48.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:108cfc431ade8c6d39b9945cafeda63a36cd0de3e485b1ac6f376df5b0d065b6
3
+ size 1183123
super_updated_disc_face.config.yaml ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ callbacks:
2
+ anneal_weight:
3
+ attr_name: total_unsupervised_importance
4
+ final_val: 1.0
5
+ freeze_until_epoch: 0
6
+ increase_factor: 0.01
7
+ init_val: 0.0
8
+ dali:
9
+ base:
10
+ predict:
11
+ sequence_length: 96
12
+ train:
13
+ sequence_length: 32
14
+ context:
15
+ predict:
16
+ sequence_length: 96
17
+ train:
18
+ batch_size: 10
19
+ general:
20
+ seed: 123456
21
+ data:
22
+ columns_for_singleview_pca:
23
+ - 0
24
+ - 1
25
+ - 2
26
+ - 3
27
+ - 4
28
+ - 5
29
+ - 6
30
+ - 7
31
+ - 8
32
+ - 9
33
+ - 10
34
+ - 11
35
+ - 12
36
+ - 13
37
+ - 14
38
+ - 15
39
+ - 16
40
+ - 17
41
+ csv_file: /root/capsule/scratch/super_updated_disc_face_lp/CollectedData.csv
42
+ data_dir: /root/capsule/scratch/super_updated_disc_face_lp
43
+ detector:
44
+ downsample_factor: 2
45
+ image_resize_dims:
46
+ height: null
47
+ width: null
48
+ keypoint_names: null
49
+ keypoints_for_crop: null
50
+ num_keypoints: null
51
+ downsample_factor: 2
52
+ dynamic_crop: false
53
+ image_resize_dims:
54
+ height: 384
55
+ width: 384
56
+ keypoint_names:
57
+ - eye_top
58
+ - eye_right
59
+ - eye_bottom
60
+ - eye_left
61
+ - pupil_top
62
+ - pupil_right
63
+ - pupil_bottom
64
+ - pupil_left
65
+ - pupil_top_right
66
+ - pupil_bottom_right
67
+ - pupil_bottom_left
68
+ - pupil_top_left
69
+ - reflection
70
+ - nostril
71
+ - nose_tip
72
+ - whisker_1
73
+ - whisker_2
74
+ - whisker_3
75
+ mirrored_column_matches: null
76
+ num_keypoints: 18
77
+ num_max_instances: 1
78
+ video_dir: /root/capsule/scratch/super_updated_disc_face_lp/videos/
79
+ eval:
80
+ confidence_thresh_for_vid: 0.9
81
+ fiftyone:
82
+ address: 127.0.0.1
83
+ dataset_name: test
84
+ launch_app_from_script: false
85
+ model_display_names:
86
+ - test_model
87
+ port: 5151
88
+ remote: true
89
+ hydra_paths:
90
+ - ' '
91
+ predict_vids_after_training: true
92
+ save_vids_after_training: false
93
+ test_videos_directory: /root/capsule/scratch/super_updated_disc_face_lp/videos/
94
+ hydra:
95
+ run:
96
+ dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
97
+ sweep:
98
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
99
+ subdir: ${hydra.job.num}
100
+ losses:
101
+ pca_multiview:
102
+ components_to_keep: 3
103
+ epsilon: null
104
+ log_weight: 5.0
105
+ pca_singleview:
106
+ components_to_keep: 0.99
107
+ epsilon: null
108
+ log_weight: 5.0
109
+ temporal:
110
+ epsilon: 20.0
111
+ log_weight: 5.0
112
+ prob_threshold: 0.05
113
+ model:
114
+ backbone: resnet50_animal_ap10k
115
+ checkpoint: null
116
+ heatmap_loss_type: mse
117
+ losses_to_use:
118
+ - pca_singleview
119
+ model_name: test
120
+ model_type: heatmap
121
+ training:
122
+ check_val_every_n_epoch: 5
123
+ ckpt_every_n_epochs: null
124
+ early_stop_patience: 3
125
+ early_stopping: false
126
+ gpu_id: 0
127
+ imgaug: dlc
128
+ log_every_n_steps: 10
129
+ lr_scheduler: multisteplr
130
+ lr_scheduler_params:
131
+ multisteplr:
132
+ gamma: 0.5
133
+ milestones:
134
+ - 150
135
+ - 200
136
+ - 250
137
+ max_epochs: 300
138
+ min_epochs: 300
139
+ num_gpus: 1
140
+ num_workers: 4
141
+ rng_seed_data_pt: 0
142
+ rng_seed_model_pt: 0
143
+ test_batch_size: 32
144
+ train_batch_size: 16
145
+ train_frames: 1
146
+ train_prob: 0.95
147
+ unfreezing_epoch: 20
148
+ uniform_heatmaps_for_nan_keypoints: true
149
+ val_batch_size: 32
150
+ val_prob: 0.05
training.config.yaml ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ callbacks:
2
+ anneal_weight:
3
+ attr_name: total_unsupervised_importance
4
+ final_val: 1.0
5
+ freeze_until_epoch: 0
6
+ increase_factor: 0.01
7
+ init_val: 0.0
8
+ dali:
9
+ base:
10
+ predict:
11
+ sequence_length: 96
12
+ train:
13
+ sequence_length: 32
14
+ context:
15
+ predict:
16
+ sequence_length: 96
17
+ train:
18
+ batch_size: 10
19
+ general:
20
+ seed: 123456
21
+ data:
22
+ columns_for_singleview_pca:
23
+ - 0
24
+ - 1
25
+ - 2
26
+ - 3
27
+ - 4
28
+ - 5
29
+ - 6
30
+ - 7
31
+ - 8
32
+ - 9
33
+ - 10
34
+ - 11
35
+ - 12
36
+ - 13
37
+ - 14
38
+ - 15
39
+ - 16
40
+ - 17
41
+ csv_file: /root/capsule/scratch/super_updated_disc_face_lp/CollectedData.csv
42
+ data_dir: /root/capsule/scratch/super_updated_disc_face_lp
43
+ detector:
44
+ downsample_factor: 2
45
+ image_resize_dims:
46
+ height: null
47
+ width: null
48
+ keypoint_names: null
49
+ keypoints_for_crop: null
50
+ num_keypoints: null
51
+ downsample_factor: 2
52
+ dynamic_crop: false
53
+ image_resize_dims:
54
+ height: 384
55
+ width: 384
56
+ keypoint_names:
57
+ - eye_top
58
+ - eye_right
59
+ - eye_bottom
60
+ - eye_left
61
+ - pupil_top
62
+ - pupil_right
63
+ - pupil_bottom
64
+ - pupil_left
65
+ - pupil_top_right
66
+ - pupil_bottom_right
67
+ - pupil_bottom_left
68
+ - pupil_top_left
69
+ - reflection
70
+ - nostril
71
+ - nose_tip
72
+ - whisker_1
73
+ - whisker_2
74
+ - whisker_3
75
+ mirrored_column_matches: null
76
+ num_keypoints: 18
77
+ num_max_instances: 1
78
+ video_dir: /root/capsule/scratch/super_updated_disc_face_lp/videos/
79
+ eval:
80
+ confidence_thresh_for_vid: 0.9
81
+ fiftyone:
82
+ address: 127.0.0.1
83
+ dataset_name: test
84
+ launch_app_from_script: false
85
+ model_display_names:
86
+ - test_model
87
+ port: 5151
88
+ remote: true
89
+ hydra_paths:
90
+ - ' '
91
+ predict_vids_after_training: true
92
+ save_vids_after_training: false
93
+ test_videos_directory: /root/capsule/scratch/super_updated_disc_face_lp/videos/
94
+ hydra:
95
+ run:
96
+ dir: outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}
97
+ sweep:
98
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
99
+ subdir: ${hydra.job.num}
100
+ losses:
101
+ pca_multiview:
102
+ components_to_keep: 3
103
+ epsilon: null
104
+ log_weight: 5.0
105
+ pca_singleview:
106
+ components_to_keep: 0.99
107
+ epsilon: null
108
+ log_weight: 5.0
109
+ temporal:
110
+ epsilon: 20.0
111
+ log_weight: 5.0
112
+ prob_threshold: 0.05
113
+ model:
114
+ backbone: resnet50_animal_ap10k
115
+ checkpoint: null
116
+ heatmap_loss_type: mse
117
+ losses_to_use:
118
+ - pca_singleview
119
+ model_name: test
120
+ model_type: heatmap
121
+ training:
122
+ check_val_every_n_epoch: 5
123
+ ckpt_every_n_epochs: null
124
+ early_stop_patience: 3
125
+ early_stopping: false
126
+ gpu_id: 0
127
+ imgaug: dlc
128
+ log_every_n_steps: 10
129
+ lr_scheduler: multisteplr
130
+ lr_scheduler_params:
131
+ multisteplr:
132
+ gamma: 0.5
133
+ milestones:
134
+ - 150
135
+ - 200
136
+ - 250
137
+ max_epochs: 300
138
+ min_epochs: 300
139
+ num_gpus: 1
140
+ num_workers: 4
141
+ rng_seed_data_pt: 0
142
+ rng_seed_model_pt: 0
143
+ test_batch_size: 32
144
+ train_batch_size: 16
145
+ train_frames: 1
146
+ train_prob: 0.95
147
+ unfreezing_epoch: 20
148
+ uniform_heatmaps_for_nan_keypoints: true
149
+ val_batch_size: 32
150
+ val_prob: 0.05