2 type=
'ActionRecognitionRunner',
8 stage_blocks = (4, 6, 3),
10 spatial_strides = (2, 2, 2),
11 temporal_strides = (1, 1, 2),
12 dilations = (1, 1, 1),
13 conv1_kernel = (1, 7, 7),
19 inflate_style =
'3x1x1',
20 input_key =
'pose_heatmap_for_action'
26 stage_blocks = (4, 6, 3),
28 spatial_strides = (2, 2, 2),
29 temporal_strides = (1, 1, 2),
30 dilations = (1, 1, 1),
31 conv1_kernel = (1, 7, 7),
37 inflate_style =
'3x1x1',
38 input_key =
'pose_heatmap_for_pose'
43 in_channels = 1024+512,
46 input_key = [
'action_feat',
'pose_feat']
53 layer_channels=[2048],
61 layer_channels=[2048],
69 layer_channels=[2048],
77 layer_channels=[2048],
85 layer_channels=[2048],
89 aux_action_upper = dict(
93 layer_channels=[1024],
95 input_key =
'action_feat',
98 aux_action_lower = dict(
102 layer_channels=[1024],
104 input_key =
'action_feat',
111 layer_channels=[1024],
113 input_key =
'pose_feat',
120 layer_channels=[1024],
122 input_key =
'pose_feat',
129 layer_channels=[1024],
131 input_key =
'pose_feat',
137 pred_action_upper =
'action_upper',
138 pred_action_lower =
'action_lower',
145score_keys = [
'action_upper',
'action_lower',
'pose',
'hand',
'foot',
'aux_action_upper',
'aux_action_lower',
'aux_pose',
'aux_hand',
'aux_foot']
146pred_keys = [
'pred_action_upper',
'pred_action_lower',
'pred_pose',
'pred_hand',
'pred_foot']
147gt_keys = [
'gt_action_upper',
'gt_action_lower',
'gt_pose',
'gt_hand',
'gt_foot',
'gt_action_upper',
'gt_action_lower',
'gt_pose',
'gt_hand',
'gt_foot']
148target_tasks = [
'action_upper',
'action_lower',
'pose',
'hand',
'foot',
'action_upper',
'action_lower',
'pose',
'hand',
'foot']
149train_tasks = [
'action_upper',
'action_lower',
'pose',
'hand',
'foot']
153 MutiTaskSigmoidFocalLoss = dict(
155 task_key =
'category',
156 pred_keys = score_keys,
158 target_tasks = target_tasks,
159 weights = [1.0, 1.5, 1.0, 1.0, 1.0, 0.25, 0.5, 0.25, 0.25, 0.25],
164metric_args = dict(pred_key=pred_keys,
166 target_tasks=target_tasks[:5],
169collect_keys = [
'pose_heatmap_for_action',
'pose_heatmap_for_pose',
'gt_action_upper',
'gt_action_lower',
'gt_pose',
'gt_hand',
'gt_foot']
172 type =
'ActionDatasetLoader_mtml',
173 data_folder =
'/media/safemotion/HDD5/pjm_test/action_train_dataset_2023/action_mtml_1st_split',
174 category_info = dict(action_upper = 6,
179 clip_len_action = 20,
189 optimizer_args = dict(momentum=0.9, nesterov=
True, weight_decay=0.0001),
190 scheduler =
'CosineAnnealingLR',
192 scheduler_args = dict(T_max=30*ep_mul, eta_min=0),
193 adjust_lr_epoch = [10*ep_mul, 50*ep_mul, 100*ep_mul, 130*ep_mul],
194 adjust_lr_rate = [0.5, 0.1, 0.1, 0.1],
198 update_loss_weight =
False,
199 update_loss_weight_interval = 20,
203 save_root =
'/media/safemotion/HDD5/pjm_test/action_train_result/action_cat_mlp_fl_3rd',