TrackingNet SDK
Project description
TrackingNet devkit
conda create -n TrackingNet python pip
pip install TrackingNet
Utility functions for TrackingNet
from TrackingNet.utils import getListSplit
# Get list of codenames for the 12 training + testing split
TrackingNetSplits = getListSplit()
print(getListSplit())
# returns ["TEST", "TRAIN_0", "TRAIN_1", "TRAIN_2", "TRAIN_3", "TRAIN_4", "TRAIN_5", "TRAIN_6", "TRAIN_7", "TRAIN_8", "TRAIN_9", "TRAIN_10", "TRAIN_11"]
# Get list of tracking sequences
print(getListSequence(split=TrackingNetSplits[1])) # return list of tracking sequences in that split
print(getListSequence(split="TEST")) # return list of tracking sequences for testing
print(getListSequence(split=["TRAIN_0", "TRAIN_1"])) # return list of tracking sequences for train splits 0 and 1
print(getListSequence(split="TRAIN")) # return list of tracking sequences for al train splits
Downloading TrackingNet
from huggingface_hub import login
login(token="<TOKEN_HUGGINGFACE>") # https://huggingface.co/settings/tokens -> Create a new token
from TrackingNet.Downloader import TrackingNetDownloader
downloader = TrackingNetDownloader(LocalDirectory="path/to/TrackingNet")
downloader.downloadSplit("TRAIN_0")
downloader.downloadSplit("TEST")
from TrackingNet.utils import getListSplit
for split in getListSplit():
downloader.downloadSplit(split)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
TrackingNet-0.0.9.tar.gz
(264.6 kB
view details)
Built Distribution
TrackingNet-0.0.9-py3-none-any.whl
(263.4 kB
view details)
File details
Details for the file TrackingNet-0.0.9.tar.gz
.
File metadata
- Download URL: TrackingNet-0.0.9.tar.gz
- Upload date:
- Size: 264.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89365383e360988d324a19a20978e84306145c1c4bf62a30a5629fea776343e8 |
|
MD5 | bd8060364263722edff91a4164253507 |
|
BLAKE2b-256 | 40eaa3a9d4e868248838e0c87464d747a28782af4f130ab33f37ac2b3c84fa89 |
File details
Details for the file TrackingNet-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: TrackingNet-0.0.9-py3-none-any.whl
- Upload date:
- Size: 263.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e91aa78f668a0ae98dc096e3994b9a188e6186260d09a7293d817667bce3937 |
|
MD5 | a3597654f3c0a16c75415a28f6ddddba |
|
BLAKE2b-256 | 07b660d678b9d2675b93ef938b3f8f41d5a86b544dbe01f30933f63c1a2a2597 |