Downloads · 30 days
0
Splash47666/slowfast-basketball-round-classifier
slowfast-basketball-round-classifier is a video classification model from Splash47666. Use it for the video classification task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as apache-2.0.
This is a binary video classifier for identifying whether a basketball broadcast clip is currently inside an active round/play segment. It was locally fine-tuned from the PyTorchVideo SlowFast R50 model pretrained on…
Downloads · 30 days
0
Access
Public
Updated Aug 23, 2026
Repo size
135 MB
Likes
0
Public
Click a slice to open those files.
.pth135 MB · 100%
From the Hugging Face model README
This is a binary video classifier for identifying whether a basketball broadcast clip is currently inside an active round/play segment. It was locally fine-tuned from the PyTorchVideo SlowFast R50 model pretrained on Kinetics-400.
0 = not_in_round, 1 = in_roundfacebookresearch/pytorchvideo, SlowFast R50, Kinetics-400The accuracy above is taken from the local validation split used during training. It has not been independently reproduced on a public benchmark and should not be compared directly with results obtained using different splits.
The model is intended for research and prototyping involving basketball broadcast segmentation, highlight extraction and editing assistance. It predicts whether a short clip resembles active play; it does not identify players, recognize identities, determine official game events or replace human editorial review.
The Kinetics-400 pretrained backbone was loaded from PyTorchVideo. Backbone parameters were frozen and the final classification block was trained with AdamW, cosine learning-rate scheduling, cross-entropy with label smoothing, mixed precision and image augmentation.
Key settings:
5e-51e-5[0.45, 0.45, 0.45], standard deviation [0.225, 0.225, 0.225]The training data is not included in this repository. It consisted of locally prepared basketball broadcast clips divided into in_round and not_in_round classes. Some source footage was collected from publicly accessible Bilibili videos. Public availability does not necessarily grant redistribution rights; therefore, no original videos, extracted frames, audio, subtitles, uploader information or Bilibili metadata are distributed with this model.
The uploader has not completed a work-by-work copyright clearance of the source footage. Users should independently evaluate whether their use of the weights and any downstream outputs complies with applicable copyright, privacy, publicity and platform rules. Rights holders may request review or removal through the Hugging Face repository contact/discussion channel.
Install dependencies:
pip install -r requirements.txt
Run inference:
python inference.py path/to/video.mp4 --checkpoint model.pth
The checkpoint is a PyTorch training checkpoint containing model_state_dict, epoch and validation metadata. Only load .pth files from sources you trust because PyTorch pickle-based files can execute code during deserialization.
Released under Apache License 2.0. The base PyTorchVideo project and SlowFast implementation are also provided under Apache-2.0. See LICENSE and NOTICE.
Suggested citation:
@inproceedings{fan2021pytorchvideo,
title={PyTorchVideo: A Deep Learning Library for Video Understanding},
author={Fan, Haoqi and others},
booktitle={Proceedings of the 29th ACM International Conference on Multimedia},
year={2021}
}