SoccerNet SDK
Project description
SOCCERNETV2
conda create -n SoccerNet python pip
pip install SoccerNet
How to Download Games (Python)
from SoccerNet import SoccerNetDownloader
mySoccerNetDownloader = SoccerNetDownloader(
LocalDirectory="/path/to/soccernet/folder")
# input password to download video (copyright protected)
password = input("Password for videos? (contact the author):\n")
mySoccerNetDownloader.password = password
# Download SoccerNet v1
mySoccerNetDownloader.downloadGames(files=["Labels.json"]) # download labels
mySoccerNetDownloader.downloadGames(files=["1.mkv", "2.mkv"]) # download LQ Videos
mySoccerNetDownloader.downloadGames(files=["1_HQ.mkv", "2_HQ.mkv", "video.ini"]) # download HQ Videos
mySoccerNetDownloader.downloadGames(files=["1_ResNET_TF2.npy", "2_ResNET_TF2.npy"]) # download Features
# Download SoccerNet Test Set
mySoccerNetDownloader.LocalDirectory = "/path/to/soccernet/test/folder"
mySoccerNetDownloader.downloadTestGames(files=["Labels.json"]) # download labels
mySoccerNetDownloader.downloadTestGames(files=["1.mkv", "2.mkv"]) # download LQ Videos
mySoccerNetDownloader.downloadTestGames(files=["1_HQ.mkv", "2_HQ.mkv", "video.ini"]) # download HQ Videos
mySoccerNetDownloader.downloadTestGames(files=["1_ResNET_TF2.npy", "2_ResNET_TF2.npy"]) # download Features
[Coming soon...] Tensorflow/Pytorch dataloader
pip install scikit-video
pip cudnn cudatoolkit=10.1
pip install tensorflow
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SoccerNet-0.0.37.tar.gz
(13.5 kB
view hashes)
Built Distribution
Close
Hashes for SoccerNet-0.0.37-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 642a92531c5fdb560a32cf9ab8e573a90f24187db31a6539d6b0f544dc898911 |
|
MD5 | e3c22d4f54feabc9370c0a89e9d28b76 |
|
BLAKE2b-256 | 1d1199f89c6addaef778634d6974120849b8cacf51442a20744c2d4b9c84f4fe |