| TASK: classification |
| DATA: |
| dataset_name: mvfouls |
| data_dir: /home/vorajv/opensportslib/SoccerNet/mvfouls |
| data_modality: video |
| view_type: multi |
| num_classes: 8 |
| train: |
| type: annotations_train.json |
| video_path: ${DATA.data_dir}/train |
| path: ${DATA.train.video_path}/annotations-train.json |
| dataloader: |
| batch_size: 8 |
| shuffle: true |
| num_workers: 4 |
| pin_memory: true |
| valid: |
| type: annotations_valid.json |
| video_path: ${DATA.data_dir}/valid |
| path: ${DATA.valid.video_path}/annotations-valid.json |
| dataloader: |
| batch_size: 1 |
| num_workers: 1 |
| shuffle: false |
| test: |
| type: annotations_test.json |
| video_path: ${DATA.data_dir}/test |
| path: ${DATA.test.video_path}/annotations-test.json |
| dataloader: |
| batch_size: 1 |
| num_workers: 1 |
| shuffle: false |
| num_frames: 16 |
| input_fps: 25 |
| target_fps: 17 |
| start_frame: 63 |
| end_frame: 87 |
| frame_size: [224, 224] |
| augmentations: |
| random_affine: true |
| translate: [0.1, 0.1] |
| affine_scale: [0.9, 1.0] |
| random_perspective: true |
| distortion_scale: 0.3 |
| perspective_prob: 0.5 |
| random_rotation: true |
| rotation_degrees: 5 |
| color_jitter: true |
| jitter_params: [0.2, 0.2, 0.2, 0.1] |
| random_horizontal_flip: true |
| flip_prob: 0.5 |
| random_crop: false |
|
|
| MODEL: |
| type: custom |
| backbone: |
| type: mvit_v2_s |
| neck: |
| type: MV_Aggregate |
| agr_type: max |
| head: |
| type: MV_LinearLayer |
| pretrained_model: mvit_v2_s |
| unfreeze_head: true |
| unfreeze_last_n_layers: 3 |
| |
|
|
| TRAIN: |
| monitor: balanced_accuracy |
| mode: max |
| enabled: true |
| use_weighted_sampler: false |
| use_weighted_loss: true |
| epochs: 20 |
| log_interval: 10 |
| save_every: 2 |
|
|
| criterion: |
| type: CrossEntropyLoss |
|
|
| optimizer: |
| type: AdamW |
| lr: 0.0001 |
| backbone_lr: 0.00005 |
| head_lr: 0.001 |
| betas: [0.9, 0.999] |
| eps: 0.0000001 |
| weight_decay: 0.001 |
| amsgrad: false |
| |
| scheduler: |
| type: StepLR |
| step_size: 3 |
| gamma: 0.1 |
|
|
| SYSTEM: |
| log_dir: ./logs |
| save_dir: ./checkpoints |
| use_seed: false |
| seed: 42 |
| GPU: 4 |
| device: cuda |
| gpu_id: 0 |
|
|
|
|