MCPcopy Index your code
hub / github.com/PKU-ICST-MIPL/FineSports_CVPR2024

github.com/PKU-ICST-MIPL/FineSports_CVPR2024 @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
957 symbols 2,637 edges 89 files 268 documented · 28%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

FineSports: A Multi-person Hierarchical Sports Video Dataset for Fine-grained Action Understanding

Created by Jinglin Xu, Guohao Zhao, Sibo Yin, Wenhao Zhou, Yuxin Peng

This repository contains the PyTorch implementation for FineSports (CVPR 2024).

[Project Page] [Paper]

Overview

<img style="border-radius: 0.3125em;
box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.08);" 
src="https://github.com/PKU-ICST-MIPL/FineSports_CVPR2024/raw/main/images/poster.png" width = "100%" alt=""/>

Requirements

Make sure the following dependencies installed (python):

  • pytorch >= 1.10.1
  • matplotlib=3.2.2
  • einops
  • timm
  • tensorboardX
pip install -r requirements.txt

Dataset & Annotations

FineSports Download

To download the FineSports dataset, please sign the Release Agreement and send it to send it to Jinglin Xu (xujinglinlove@gmail.com). By sending the application, you are agreeing and acknowledging that you have read and understand the notice. We will reply with the file and the corresponding guidelines right after we receive your request!

<img style="border-radius: 0.3125em;
box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.08);" 
src="https://github.com/PKU-ICST-MIPL/FineSports_CVPR2024/raw/main/images/finesports.png" width = "100%" alt=""/>

Data Structure

$DATASET_ROOT
├── FineSports
|  ├── BallDelivered
|     ├── 00002_1
|        ├── 00001.jpg
|        ...
|        └── 00005.jpg
|     ...
|     └── 00012_1
|        ├── 00001.jpg
|        ...
|        └── 00005.jpg
|  ...
|  └── ToShootersRight
|     ├── 00095_0
|     ...
|     └── 09955_0

$ANNOTATIONS_ROOT
|  ├── FineSports-GT.pkl

Training

Training on 2*NVIDIA RTX A40. Results may slightly vary due to non-fixed random seeds

To download the pre-trained feature backbone and transformer weights, please follow CSN152, DETR, BLIP and set PRETRAIN_BACKBONE_DIR, PRETRAIN_TRANSFORMER_DIR, PRETRAIN_BLIP in configuration respectively.

Train and Validation:

python train_postal_basketball.py

Acknowledgments

Thanks for the TubeR library, which helps us to quickly implement our ideas.

Core symbols most depended-on inside this repo

print
called by 109
utils/misc.py
to
called by 87
models/detr/util/misc.py
print
called by 84
models/BLIP/utils.py
update
called by 42
utils/utils.py
to
called by 31
utils/misc.py
_n2p
called by 26
models/BLIP/models/vit.py
update
called by 25
models/BLIP/utils.py
get
called by 21
evaluates/utils/np_box_list.py

Shape

Method 499
Function 300
Class 157
Route 1

Languages

Python100%

Modules by API surface

models/BLIP/models/med.py61 symbols
datasets/video_transforms.py56 symbols
models/BLIP/models/nlvr_encoder.py54 symbols
utils/misc.py46 symbols
models/transformer/util/misc.py41 symbols
models/detr/util/misc.py41 symbols
models/BLIP/utils.py34 symbols
models/backbones/video_swin_transformer.py31 symbols
evaluates/utils/object_detection_evaluation.py31 symbols
models/transformer/transformer_layers.py30 symbols
models/transformer/transformer.py30 symbols
models/BLIP/transform/randaugment.py29 symbols

For agents

$ claude mcp add FineSports_CVPR2024 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page