Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: FujikawaYouta
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 667 KB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

SoccerNet Ball Action Spotting Challenge 2024 Baseline

This repo is a fork of the baseline for the SoccerNet Ball Action Spotting Challenge 2024 for the SoccerNet Ball Action Spotting Challenge 2024.

This repo stores the solution of SoccerNet Ball Action Spotting Challenge 2024 by Team Ai4sports. We tried some methods to improve the ability of classification.

Quick setup and start

Requirements

Run

Clone the repo and enter the folder.

bash git clone git@github.com:recokick/ball-action-spotting.git cd ball-action-spotting

Build a Docker image and run a container.

bash make

From now on, you should run all commands inside the docker container.

Download sampling_weights_001 and action_sampling_weights_002 from author's Google Drive and copy the files to the data directory so that the folder structure is as follows:

data ├── action │ ├── experiments │ │ └── action_sampling_weights_002 │ └── predictions │ └── action_sampling_weights_002 ├── ball_action │ ├── experiments │ │ └── sampling_weights_001 │ └── predictions │ └── sampling_weights_001 ├── readme_images └── soccernet └── spotting-ball-2024 └── england_efl

OR

Download the Ball Action Spotting 2023 dataset and Action Spotting 2023 dataset if you want to train the models from scratch. To get the password, you must fill NDA (link).

Now you can train models and use them to predict games. To reproduce the final solution, you can use the following commands (for the --experiment sampling_weights_001 parts of the steps you might want to change the constant soccernet_dir in src/ballaction/constants.py to `soccernetdir / "spotting-ball-2023"`):

```bash

Train and predict basic experiment on all folds

python scripts/ballaction/train.py --experiment samplingweights001 python scripts/ballaction/predict.py --experiment samplingweights001

Training on Action Spotting Challenge dataset

python scripts/action/train.py --experiment actionsamplingweights_002

Transfer learning

python scripts/ballaction/train.py --experiment balltuning001 python scripts/ballaction/predict.py --experiment balltuning001 python scripts/ballaction/evaluate.py --experiment balltuning001 python scripts/ballaction/predict.py --experiment balltuning001 --challenge python scripts/ballaction/ensemble.py --experiments balltuning_001 --challenge

To train models without the use of the test subset of the data in training use argument --folds train

Spotting results will be there

cd data/ballaction/predictions/balltuning001/challenge/ensemble/ zip resultsspotting.zip .///*/results_spotting.json ```

Owner

  • Login: FujikawaYouta
  • Kind: user

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Solution for SoccerNet Ball Action Spotting Challenge 2023
message: 'If you use this work, please cite it using these metadata.'
type: software
authors:
  - given-names: Ruslan
    family-names: Baikulov
    email: ruslan1123@gmail.com
    orcid: 'https://orcid.org/0009-0003-4400-0619'
repository-code: 'https://github.com/lRomul/ball-action-spotting'
abstract: >-
  The solution includes an efficient model architecture and
  a multi-stage training pipeline for spotting the instances
  of passes and drives occurring in soccer videos.
license: MIT
version: v23.06.19
date-released: '2023-06-19'
doi: 10.5281/zenodo.8049255

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Dependencies

Dockerfile docker
  • osaiai/dokai 23.05-vpf build
requirements.txt pypi
  • SoccerNet *
  • kornia ==0.6.12
  • numpy ==1.24.3
  • opencv-python ==4.7.0.72
  • pytorch-argus ==1.0.0
  • rosny ==0.0.6
  • scikit-learn ==1.2.2
  • scipy ==1.10.1
  • timm ==0.9.2
  • torch >1
  • tqdm ==4.65.0
setup.py pypi