1+ TASK : localization
2+
3+ dali : False # Please not use DALI
4+
5+ DATA :
6+ dataset_name : SoccerNet
7+ data_dir : ./
8+ classes :
9+ - PASS
10+ - DRIVE
11+ - HEADER
12+ - HIGH PASS
13+ - OUT
14+ - CROSS
15+ - THROW IN
16+ - SHOT
17+ - BALL PLAYER BLOCK
18+ - PLAYER SUCCESSFUL TACKLE
19+ - FREE KICK
20+ - GOAL
21+
22+ epoch_num_frames : 500000
23+ mixup : false
24+ modality : rgb
25+ crop_dim : -1
26+ dilate_len : 0
27+ clip_len : 100
28+ input_fps : 25
29+ extract_fps : 2
30+ imagenet_mean : [0.485, 0.456, 0.406]
31+ imagenet_std : [0.229, 0.224, 0.225]
32+ target_height : 224
33+ target_width : 398
34+
35+ # --- VideoGameWithOpencv ---
36+ train :
37+ type : VideoGameWithOpencv
38+ classes : ${DATA.classes}
39+ output_map : [data, label]
40+ video_path : ./
41+ path : ./temp.json
42+ dataloader :
43+ batch_size : 1
44+ shuffle : true
45+ num_workers : 0
46+
47+ valid :
48+ type : VideoGameWithOpencv
49+ classes : ${DATA.classes}
50+ output_map : [data, label]
51+ video_path : ./
52+ path : ./temp.json
53+ dataloader :
54+ batch_size : 1
55+ shuffle : false
56+ num_workers : 0
57+
58+ valid_data_frames :
59+ type : VideoGameWithOpencvVideo
60+ classes : ${DATA.classes}
61+ output_map : [data, label]
62+ video_path : ./
63+ path : ./temp.json
64+ overlap_len : 0
65+ dataloader :
66+ batch_size : 1
67+ shuffle : false
68+ num_workers : 0
69+
70+ test :
71+ type : VideoGameWithOpencvVideo
72+ classes : ${DATA.classes}
73+ output_map : [data, label]
74+ results : predictions
75+ nms_window : 2
76+ metric : tight
77+ overlap_len : 50
78+ video_path : ./
79+ path : ./temp.json
80+ dataloader :
81+ batch_size : 1
82+ shuffle : false
83+ num_workers : 0
84+
85+ challenge :
86+ type : VideoGameWithOpencvVideo
87+ overlap_len : 50
88+ output_map : [data, label]
89+ path : ./temp.json
90+ dataloader :
91+ batch_size : 1
92+ shuffle : false
93+ num_workers : 0
94+
95+ MODEL :
96+ type : E2E
97+ runner :
98+ type : runner_e2e
99+ backbone :
100+ type : rny008_gsm
101+ head :
102+ type : gru
103+ multi_gpu : false
104+ load_weights : null
105+ save_dir : ./checkpoints
106+ work_dir : ./checkpoints
107+
108+ TRAIN :
109+ type : trainer_e2e
110+ num_epochs : 10
111+ acc_grad_iter : 1
112+ base_num_valid_epochs : 30
113+ start_valid_epoch : 4
114+ valid_map_every : 1
115+ criterion_valid : map
116+ criterion :
117+ type : CrossEntropyLoss
118+ optimizer :
119+ type : AdamWithScaler
120+ lr : 0.01
121+ scheduler :
122+ type : ChainedSchedulerE2E
123+ acc_grad_iter : 1
124+ num_epochs : 10
125+ warm_up_epochs : 3
126+
127+ SYSTEM :
128+ log_dir : ./logs
129+ save_dir : ./checkpoints
130+ seed : 42
131+ GPU : 0
132+ device : cpu
133+ gpu_id : 0
0 commit comments