sfmig commited on
Commit
ffd4fc3
β€’
1 Parent(s): 4c3cb32

reorganising dirs

Browse files
Files changed (29) hide show
  1. {model β†’ DLC_models}/pretrained_model_urls.yaml +0 -0
  2. {model β†’ DLC_models}/read.md +0 -0
  3. {example β†’ MD_models}/read.md +0 -0
  4. {example β†’ examples}/cat.jpg +0 -0
  5. {example β†’ examples}/dog.jpeg +0 -0
  6. {example β†’ examples}/monkey_full.jpg +0 -0
  7. {font β†’ examples}/read.md +0 -0
  8. {font β†’ fonts}/Amiko-Regular.ttf +0 -0
  9. {font β†’ fonts}/LoveNature.otf +0 -0
  10. {font β†’ fonts}/PainterDecorator.otf +0 -0
  11. {font β†’ fonts}/UncialAnimals.ttf +0 -0
  12. {font β†’ fonts}/ZEN.TTF +0 -0
  13. {megadet_model β†’ fonts}/read.md +0 -0
  14. model/DLC_Cat_resnet_50_iteration-0_shuffle-0/pose_cfg.yaml +0 -106
  15. model/DLC_Cat_resnet_50_iteration-0_shuffle-0/read.md +0 -0
  16. model/DLC_Cat_resnet_50_iteration-0_shuffle-0/snapshot-75000.pb +0 -3
  17. model/DLC_Dog_resnet_50_iteration-0_shuffle-0/pose_cfg.yaml +0 -106
  18. model/DLC_Dog_resnet_50_iteration-0_shuffle-0/read.md +0 -0
  19. model/DLC_Dog_resnet_50_iteration-0_shuffle-0/snapshot-75000.pb +0 -3
  20. model/DLC_FacialLandmarks_resnet_50_iteration-1_shuffle-1/pose_cfg.yaml +0 -154
  21. model/DLC_FacialLandmarks_resnet_50_iteration-1_shuffle-1/read.md +0 -0
  22. model/DLC_FacialLandmarks_resnet_50_iteration-1_shuffle-1/snapshot-1030000.pb +0 -3
  23. model/DLC_human_dancing_resnet_101_iteration-0_shuffle-1/pose_cfg.yaml +0 -72
  24. model/DLC_human_dancing_resnet_101_iteration-0_shuffle-1/read.md +0 -0
  25. model/DLC_human_dancing_resnet_101_iteration-0_shuffle-1/snapshot-103000.pb +0 -3
  26. model/DLC_monkey_resnet_50_iteration-0_shuffle-1/pose_cfg.yaml +0 -96
  27. model/DLC_monkey_resnet_50_iteration-0_shuffle-1/read.md +0 -0
  28. model/DLC_monkey_resnet_50_iteration-0_shuffle-1/snapshot-1030000.pb +0 -3
  29. model/models.py +0 -60
{model β†’ DLC_models}/pretrained_model_urls.yaml RENAMED
File without changes
{model β†’ DLC_models}/read.md RENAMED
File without changes
{example β†’ MD_models}/read.md RENAMED
File without changes
{example β†’ examples}/cat.jpg RENAMED
File without changes
{example β†’ examples}/dog.jpeg RENAMED
File without changes
{example β†’ examples}/monkey_full.jpg RENAMED
File without changes
{font β†’ examples}/read.md RENAMED
File without changes
{font β†’ fonts}/Amiko-Regular.ttf RENAMED
File without changes
{font β†’ fonts}/LoveNature.otf RENAMED
File without changes
{font β†’ fonts}/PainterDecorator.otf RENAMED
File without changes
{font β†’ fonts}/UncialAnimals.ttf RENAMED
File without changes
{font β†’ fonts}/ZEN.TTF RENAMED
File without changes
{megadet_model β†’ fonts}/read.md RENAMED
File without changes
model/DLC_Cat_resnet_50_iteration-0_shuffle-0/pose_cfg.yaml DELETED
@@ -1,106 +0,0 @@
1
- all_joints:
2
- - - 0
3
- - - 1
4
- - - 2
5
- - - 3
6
- - - 4
7
- - - 5
8
- - - 6
9
- - - 7
10
- - - 8
11
- - - 9
12
- - - 10
13
- - - 11
14
- - - 12
15
- - - 13
16
- - - 14
17
- - - 15
18
- - - 16
19
- - - 17
20
- - - 18
21
- - - 19
22
- all_joints_names:
23
- - Nose
24
- - L_Eye
25
- - R_Eye
26
- - L_Ear
27
- - R_Ear
28
- - Throat
29
- - Withers
30
- - TailSet
31
- - L_F_Paw
32
- - R_F_Paw
33
- - L_F_Wrist
34
- - R_F_Wrist
35
- - L_F_Elbow
36
- - R_F_Elbow
37
- - L_B_Paw
38
- - R_B_Paw
39
- - L_B_Hock
40
- - R_B_Hock
41
- - L_B_Stiffle
42
- - R_B_Stiffle
43
- augmentationprobability: 0.5
44
- batch_size:
45
- bottomheight: 400
46
- covering: true
47
- crop: true
48
- crop_pad: 0
49
- cropratio: 0.4
50
- dataset: training-datasets/iteration-0/UnaugmentedDataSet_CatMay11/Cat_TeamDLC99shuffle0.mat
51
- dataset_type: imgaug
52
- deterministic: false
53
- display_iters: 1000
54
- elastic_transform: true
55
- fg_fraction: 0.25
56
- global_scale: 0.8
57
- init_weights: TBA
58
- intermediate_supervision: false
59
- intermediate_supervision_layer: 12
60
- leftwidth: 400
61
- location_refinement: true
62
- locref_huber_loss: true
63
- locref_loss_weight: 0.05
64
- locref_stdev: 7.2801
65
- log_dir: log
66
- max_input_size: 1500
67
- mean_pixel:
68
- - 123.68
69
- - 116.779
70
- - 103.939
71
- metadataset: training-datasets/iteration-0/UnaugmentedDataSet_CatMay11/Documentation_data-Cat_99shuffle0.pickle
72
- min_input_size: 64
73
- minsize: 100
74
- mirror: false
75
- motion_blur: true
76
- multi_step:
77
- - - 0.0001
78
- - 7500
79
- - - 5e-05
80
- - 12000
81
- - - 1e-05
82
- - 75000
83
- net_type: resnet_50
84
- num_joints: 20
85
- num_outputs: 1
86
- optimizer: adam
87
- pairwise_huber_loss: true
88
- pairwise_predict: false
89
- partaffinityfield_predict: false
90
- pos_dist_thresh: 17
91
- project_path: TBA
92
- regularize: false
93
- rightwidth: 400
94
- rotation: 180
95
- save_iters: 50000
96
- scale_jitter_lo: 0.5
97
- scale_jitter_up: 1.5
98
- scoremap_dir: test
99
- shuffle: true
100
- snapshot_prefix: TBA
101
- stride: 8.0
102
- topheight: 400
103
- weigh_negatives: false
104
- weigh_only_present_joints: false
105
- weigh_part_predictions: false
106
- weight_decay: 0.0001
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model/DLC_Cat_resnet_50_iteration-0_shuffle-0/read.md DELETED
File without changes
model/DLC_Cat_resnet_50_iteration-0_shuffle-0/snapshot-75000.pb DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d44893d1d7a0a07afd37b28c8c00cd8178ae69a0ff49152f16c08c53b8efa4da
3
- size 98887790
 
 
 
 
model/DLC_Dog_resnet_50_iteration-0_shuffle-0/pose_cfg.yaml DELETED
@@ -1,106 +0,0 @@
1
- all_joints:
2
- - - 0
3
- - - 1
4
- - - 2
5
- - - 3
6
- - - 4
7
- - - 5
8
- - - 6
9
- - - 7
10
- - - 8
11
- - - 9
12
- - - 10
13
- - - 11
14
- - - 12
15
- - - 13
16
- - - 14
17
- - - 15
18
- - - 16
19
- - - 17
20
- - - 18
21
- - - 19
22
- all_joints_names:
23
- - Nose
24
- - L_Eye
25
- - R_Eye
26
- - L_Ear
27
- - R_Ear
28
- - Throat
29
- - Withers
30
- - TailSet
31
- - L_F_Paw
32
- - R_F_Paw
33
- - L_F_Wrist
34
- - R_F_Wrist
35
- - L_F_Elbow
36
- - R_F_Elbow
37
- - L_B_Paw
38
- - R_B_Paw
39
- - L_B_Hock
40
- - R_B_Hock
41
- - L_B_Stiffle
42
- - R_B_Stiffle
43
- augmentationprobability: 0.5
44
- batch_size:
45
- bottomheight: 400
46
- covering: true
47
- crop: true
48
- crop_pad: 0
49
- cropratio: 0.4
50
- dataset: training-datasets/iteration-0/UnaugmentedDataSet_DogMay11/Dog_TeamDLC99shuffle0.mat
51
- dataset_type: imgaug
52
- deterministic: false
53
- display_iters: 1000
54
- elastic_transform: true
55
- fg_fraction: 0.25
56
- global_scale: 0.8
57
- init_weights: TBA
58
- intermediate_supervision: false
59
- intermediate_supervision_layer: 12
60
- leftwidth: 400
61
- location_refinement: true
62
- locref_huber_loss: true
63
- locref_loss_weight: 0.05
64
- locref_stdev: 7.2801
65
- log_dir: log
66
- max_input_size: 1500
67
- mean_pixel:
68
- - 123.68
69
- - 116.779
70
- - 103.939
71
- metadataset: training-datasets/iteration-0/UnaugmentedDataSet_DogMay11/Documentation_data-Dog_99shuffle0.pickle
72
- min_input_size: 64
73
- minsize: 100
74
- mirror: false
75
- motion_blur: true
76
- multi_step:
77
- - - 0.0001
78
- - 7500
79
- - - 5e-05
80
- - 12000
81
- - - 1e-05
82
- - 75000
83
- net_type: resnet_50
84
- num_joints: 20
85
- num_outputs: 1
86
- optimizer: adam
87
- pairwise_huber_loss: true
88
- pairwise_predict: false
89
- partaffinityfield_predict: false
90
- pos_dist_thresh: 17
91
- project_path: TBA
92
- regularize: false
93
- rightwidth: 400
94
- rotation: 180
95
- save_iters: 50000
96
- scale_jitter_lo: 0.5
97
- scale_jitter_up: 1.5
98
- scoremap_dir: test
99
- shuffle: true
100
- snapshot_prefix: TBA
101
- stride: 8.0
102
- topheight: 400
103
- weigh_negatives: false
104
- weigh_only_present_joints: false
105
- weigh_part_predictions: false
106
- weight_decay: 0.0001
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model/DLC_Dog_resnet_50_iteration-0_shuffle-0/read.md DELETED
File without changes
model/DLC_Dog_resnet_50_iteration-0_shuffle-0/snapshot-75000.pb DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f126991a0a312e0acf61313244107a476ffa68355bd4e34337dddb35784f5c5f
3
- size 98887790
 
 
 
 
model/DLC_FacialLandmarks_resnet_50_iteration-1_shuffle-1/pose_cfg.yaml DELETED
@@ -1,154 +0,0 @@
1
- all_joints:
2
- - - 0
3
- - - 1
4
- - - 2
5
- - - 3
6
- - - 4
7
- - - 5
8
- - - 6
9
- - - 7
10
- - - 8
11
- - - 9
12
- - - 10
13
- - - 11
14
- - - 12
15
- - - 13
16
- - - 14
17
- - - 15
18
- - - 16
19
- - - 17
20
- - - 18
21
- - - 19
22
- - - 20
23
- - - 21
24
- - - 22
25
- - - 23
26
- - - 24
27
- - - 25
28
- - - 26
29
- - - 27
30
- - - 28
31
- - - 29
32
- - - 30
33
- - - 31
34
- - - 32
35
- - - 33
36
- - - 34
37
- - - 35
38
- - - 36
39
- - - 37
40
- - - 38
41
- - - 39
42
- - - 40
43
- - - 41
44
- - - 42
45
- - - 43
46
- - - 44
47
- - - 45
48
- - - 46
49
- - - 47
50
- - - 48
51
- - - 49
52
- - - 50
53
- - - 51
54
- - - 52
55
- - - 53
56
- - - 54
57
- all_joints_names:
58
- - HeadTop_Mid
59
- - RightEarTop_Join
60
- - RightEarTop_High
61
- - RightEar_Outer
62
- - RightEarBottom_Low
63
- - RightEarBottom_Join
64
- - RightEar_Tragus
65
- - OutlineTop_Mid
66
- - OutlineTop_Right
67
- - OutlineRight_Brow
68
- - OutlineRight_Indent
69
- - OutlineRight_Cheek
70
- - OutlineRight_Mouth
71
- - OutlineChin_Mid
72
- - OutlineLeft_Mouth
73
- - OutlineLeft_Cheek
74
- - OutlineLeft_Indent
75
- - OutlineLeft_Brow
76
- - OutlineTop_Left
77
- - LeftEarTop_Join
78
- - LeftEarTop_High
79
- - LeftEar_Outer
80
- - LeftEarBottom_Low
81
- - LeftEarBottom_Join
82
- - LeftEar_Tragus
83
- - Eyes_MidPoint
84
- - RightEye_Inner
85
- - RightEye_Top
86
- - RightEye_Outer
87
- - RightEye_Bottom
88
- - RightEye_Pupil
89
- - RightEye_Highlight
90
- - LeftEye_Inner
91
- - LeftEye_Top
92
- - LeftEye_Outer
93
- - LeftEye_Bottom
94
- - LeftEye_Pupil
95
- - LeftEye_Highlight
96
- - RightBrow_Outer
97
- - RightBrow_Top
98
- - RightBrow_Inner
99
- - Brow_MidPoint
100
- - LeftBrow_Inner
101
- - LeftBrow_Top
102
- - LeftBrow_Outer
103
- - RightNostrils_Top
104
- - RightNostrils_Bottom
105
- - LeftNostrils_Bottom
106
- - LeftNostrils_Top
107
- - NostrilsTop_Centre
108
- - UpperLip_Centre
109
- - LipsMeet_Centre
110
- - LowerLip_Centre
111
- - MidPoint_Nostrils_Mouth
112
- - Neck_Nape
113
- batch_size:
114
- bottomheight: 400
115
- crop: false
116
- crop_pad: 0
117
- cropratio: 0.25
118
- dataset: training-datasets\iteration-1\UnaugmentedDataSet_FacialLandmarksNov19\FacialLandmarks_Witham95shuffle1.mat
119
- dataset_type: default
120
- deconvolutionstride: 2
121
- deterministic: false
122
- fg_fraction: 0.25
123
- global_scale: 0.8
124
- init_weights: C:\Data\Python\examples\FacialLandmarks-Witham-2019-11-09\dlc-models\iteration-1\FacialLandmarksNov19-trainset95shuffle1\train\snapshot-1030000
125
- intermediate_supervision: false
126
- intermediate_supervision_layer: 12
127
- leftwidth: 400
128
- location_refinement: true
129
- locref_huber_loss: true
130
- locref_loss_weight: 1.0
131
- locref_stdev: 7.2801
132
- log_dir: log
133
- mean_pixel:
134
- - 123.68
135
- - 116.779
136
- - 103.939
137
- minsize: 100
138
- mirror: false
139
- net_type: resnet_50
140
- num_joints: 55
141
- num_outputs: 1
142
- optimizer: sgd
143
- output_stride: 16
144
- regularize: false
145
- rightwidth: 400
146
- scoremap_dir: test
147
- shuffle: true
148
- snapshot_prefix: C:\Data\Python\examples\FacialLandmarks-Witham-2019-11-09\dlc-models\iteration-1\FacialLandmarksNov19-trainset95shuffle1\test\snapshot
149
- stride: 8.0
150
- topheight: 400
151
- weigh_negatives: false
152
- weigh_only_present_joints: false
153
- weigh_part_predictions: false
154
- weight_decay: 0.0001
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model/DLC_FacialLandmarks_resnet_50_iteration-1_shuffle-1/read.md DELETED
File without changes
model/DLC_FacialLandmarks_resnet_50_iteration-1_shuffle-1/snapshot-1030000.pb DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f195f6c51827fe2e69493ca93947177f2ef80b1dcdb6e49637d2ffd45ccb4d4c
3
- size 106628915
 
 
 
 
model/DLC_human_dancing_resnet_101_iteration-0_shuffle-1/pose_cfg.yaml DELETED
@@ -1,72 +0,0 @@
1
- all_joints:
2
- - - 0
3
- - - 1
4
- - - 2
5
- - - 3
6
- - - 4
7
- - - 5
8
- - - 6
9
- - - 7
10
- - - 8
11
- - - 9
12
- - - 10
13
- - - 11
14
- - - 12
15
- - - 13
16
- all_joints_names:
17
- - ankle1
18
- - knee1
19
- - hip1
20
- - hip2
21
- - knee2
22
- - ankle2
23
- - wrist1
24
- - elbow1
25
- - shoulder1
26
- - shoulder2
27
- - elbow2
28
- - wrist2
29
- - chin
30
- - forehead
31
- batch_size:
32
- bottomheight: 400
33
- crop: false
34
- crop_pad: 0
35
- cropratio: 0.25
36
- dataset: dataset-test.mat
37
- dataset_type: default
38
- deconvolutionstride: 2
39
- deterministic: false
40
- fg_fraction: 0.25
41
- global_scale: 1.0
42
- init_weights: /content/human_dancing-teamDLC-2020-04-26/dlc-models/iteration-0/human_dancingApr26-trainset95shuffle1/train/snapshot-103000
43
- intermediate_supervision: false
44
- intermediate_supervision_layer: 12
45
- leftwidth: 400
46
- location_refinement: true
47
- locref_huber_loss: true
48
- locref_loss_weight: 1.0
49
- locref_stdev: 7.2801
50
- log_dir: log
51
- mean_pixel:
52
- - 123.68
53
- - 116.779
54
- - 103.939
55
- minsize: 100
56
- mirror: false
57
- net_type: resnet_101
58
- num_joints: 14
59
- num_outputs: 1
60
- optimizer: sgd
61
- output_stride: 16
62
- regularize: false
63
- rightwidth: 400
64
- scoremap_dir: test
65
- shuffle: true
66
- snapshot_prefix: /content/human_dancing-teamDLC-2020-04-26/dlc-models/iteration-0/human_dancingApr26-trainset95shuffle1/test/snapshot
67
- stride: 8.0
68
- topheight: 400
69
- weigh_negatives: false
70
- weigh_only_present_joints: false
71
- weigh_part_predictions: false
72
- weight_decay: 0.0001
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model/DLC_human_dancing_resnet_101_iteration-0_shuffle-1/read.md DELETED
File without changes
model/DLC_human_dancing_resnet_101_iteration-0_shuffle-1/snapshot-103000.pb DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dbcef35a3734d76909f08d51b938ec84c985b9597f75db028861678c0fa2f4a0
3
- size 173890143
 
 
 
 
model/DLC_monkey_resnet_50_iteration-0_shuffle-1/pose_cfg.yaml DELETED
@@ -1,96 +0,0 @@
1
- all_joints:
2
- - - 0
3
- - - 1
4
- - - 2
5
- - - 3
6
- - - 4
7
- - - 5
8
- - - 6
9
- - - 7
10
- - - 8
11
- - - 9
12
- - - 10
13
- - - 11
14
- - - 12
15
- - - 13
16
- - - 14
17
- - - 15
18
- - - 16
19
- all_joints_names:
20
- - nose
21
- - left_eye
22
- - right_eye
23
- - left_ear
24
- - right_ear
25
- - left_shoulder
26
- - right_shoulder
27
- - left_elbow
28
- - right_elbow
29
- - left_wrist
30
- - right_wrist
31
- - left_hip
32
- - right_hip
33
- - left_knee
34
- - right_knee
35
- - left_ankle
36
- - right_ankle
37
- batch_size:
38
- bottomheight: 400
39
- crop: true
40
- crop_pad: 0
41
- cropratio: 0.4
42
- dataset: training-datasets/iteration-0/UnaugmentedDataSet_monkeyOct30/monkey_Toyama95shuffle1.mat
43
- dataset_type: default
44
- deconvolutionstride: 2
45
- deterministic: false
46
- display_iters: 1000
47
- fg_fraction: 0.25
48
- global_scale: 0.8
49
- init_weights: /media/deepstation/843cad10-f308-49f6-b896-b1ac1470af80/dlcmodel_to_pri_20200616/monkey-afterfix-Toyama-v2-2018-10-30/dlc-models/iteration-0/monkeyOct30-trainset95shuffle1/train/snapshot-1030000
50
- intermediate_supervision: false
51
- intermediate_supervision_layer: 12
52
- leftwidth: 400
53
- location_refinement: true
54
- locref_huber_loss: true
55
- locref_loss_weight: 0.05
56
- locref_stdev: 7.2801
57
- log_dir: log
58
- max_input_size: 1500
59
- mean_pixel:
60
- - 123.68
61
- - 116.779
62
- - 103.939
63
- metadataset: training-datasets/iteration-0/UnaugmentedDataSet_monkeyOct30/Documentation_data-monkey_95shuffle1.pickle
64
- min_input_size: 64
65
- minsize: 100
66
- mirror: false
67
- multi_step:
68
- - - 0.005
69
- - 10000
70
- - - 0.02
71
- - 430000
72
- - - 0.002
73
- - 730000
74
- - - 0.001
75
- - 1030000
76
- net_type: resnet_50
77
- num_joints: 17
78
- num_outputs: 1
79
- optimizer: sgd
80
- output_stride: 16
81
- pos_dist_thresh: 17
82
- project_path: /home/chava/Kyutech/DeepLabCut214/examples/monkey-afterfix-Toyama-v2-2018-10-30
83
- regularize: false
84
- rightwidth: 400
85
- save_iters: 50000
86
- scale_jitter_lo: 0.5
87
- scale_jitter_up: 1.25
88
- scoremap_dir: test
89
- shuffle: true
90
- snapshot_prefix: /media/deepstation/843cad10-f308-49f6-b896-b1ac1470af80/dlcmodel_to_pri_20200616/monkey-afterfix-Toyama-v2-2018-10-30/dlc-models/iteration-0/monkeyOct30-trainset95shuffle1/train/snapshot
91
- stride: 8.0
92
- topheight: 400
93
- weigh_negatives: false
94
- weigh_only_present_joints: false
95
- weigh_part_predictions: false
96
- weight_decay: 0.0001
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model/DLC_monkey_resnet_50_iteration-0_shuffle-1/read.md DELETED
File without changes
model/DLC_monkey_resnet_50_iteration-0_shuffle-1/snapshot-1030000.pb DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3d11182f326f35f9eb66772ee820a08820822ac9a5a89b026e0b2b61eaa0b06c
3
- size 98224202
 
 
 
 
model/models.py DELETED
@@ -1,60 +0,0 @@
1
- import urllib.request
2
- import tarfile
3
- from tqdm import tqdm
4
- import os
5
- import yaml
6
- from ruamel.yaml import YAML
7
-
8
- def read_plainconfig(configname):
9
- if not os.path.exists(configname):
10
- raise FileNotFoundError(
11
- f"Config {configname} is not found. Please make sure that the file exists."
12
- )
13
- with open(configname) as file:
14
- return YAML().load(file)
15
-
16
- def DownloadModel(modelname, target_dir):
17
- """
18
- Downloads a DeepLabCut Model Zoo Project
19
- """
20
-
21
- def show_progress(count, block_size, total_size):
22
- pbar.update(block_size)
23
-
24
- def tarfilenamecutting(tarf):
25
- """' auxfun to extract folder path
26
- ie. /xyz-trainsetxyshufflez/
27
- """
28
- for memberid, member in enumerate(tarf.getmembers()):
29
- if memberid == 0:
30
- parent = str(member.path)
31
- l = len(parent) + 1
32
- if member.path.startswith(parent):
33
- member.path = member.path[l:]
34
- yield member
35
-
36
- neturls = read_plainconfig("model/pretrained_model_urls.yaml") #FIXME
37
-
38
- if modelname in neturls.keys():
39
- url = neturls[modelname]
40
- print(url)
41
- response = urllib.request.urlopen(url)
42
- print(
43
- "Downloading the model from the DeepLabCut server @Harvard -> Go Crimson!!! {}....".format(
44
- url
45
- )
46
- )
47
- total_size = int(response.getheader("Content-Length"))
48
- pbar = tqdm(unit="B", total=total_size, position=0)
49
- filename, _ = urllib.request.urlretrieve(url, reporthook=show_progress)
50
- with tarfile.open(filename, mode="r:gz") as tar:
51
- tar.extractall(target_dir, members=tarfilenamecutting(tar))
52
- else:
53
- models = [
54
- fn
55
- for fn in neturls.keys()
56
- if "resnet_" not in fn and "mobilenet_" not in fn
57
- ]
58
- print("Model does not exist: ", modelname)
59
- print("Pick one of the following: ", models)
60
- return target_dir