Skip to content

Official Implementation of the 2nd Place Solution for the CVPR 2024 CVsports SoccerNet Challenge on Multi-View Foul Recognition

License

Notifications You must be signed in to change notification settings

csjihwanh/soccernet-MLV

Repository files navigation

soccernet-MLV

This repository is built based on VARS and VideoChat2.

Instruction

Our method, VF-VARS, is a model developed for the SoccerNet challenges of the 2024 CVPR CVsports workshop.

❗️ update

  • Our model achieved 2nd place out of 17 teams on the official leaderboards.
  • We are participating in the SoccerNet paper submission, which will be published soon.

Architecture

architecture

E represents the VideoChat2 encoder module, A denotes the aggregation module, and C is the classification head.

See our technical report for details.

Installation

the experiments are conducted in CUDA 11.7

conda create -n snMLV python=3.9

conda activate snMLV

pip install -r requirements.txt

pip install soccernet

Checkpoints

Download a pretrained checkpoint file from our drive.

Then place the file in checkpoints/ directory.

command

Evaluation

python main.py \
--path path/to/dataset \
--model_name your_model_name \
--start_frame 67 \
--end_frame 83 \
--path_to_model_weight path/to/your/checkpoint \
--only_evaluation type \
--multi_gpu

Training

python main.py \
--path path/to/dataset \
--model_name your_model_name \
--start_frame 67 \
--end_frame 83 \
--path_to_model_weight path/to/your/checkpoint \
--model_to_store path/to/store \
--multi_gpu

Training from scratch

python main.py \
--path path/to/dataset \
--model_name your_model_name \
--start_frame 67 \
--end_frame 83 \
--model_to_store path/to/store \
--multi_gpu

If you want to train the model from scratch, place the VideoChat2 stage3 weight at videochat2/checkpoints/videochat2/videochat2_mistral_7b_stage3.pth. It can be downloaded at VideoChat2.

Because of time constraints, we have not been able to train sufficiently in various settings, so our results may not be optimal. I recommend training in various ways.

About

Official Implementation of the 2nd Place Solution for the CVPR 2024 CVsports SoccerNet Challenge on Multi-View Foul Recognition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages