This release is a pre-release and may not be stable for production use.
PHOENIX Datasets 🐦
Introduction
PHOENIX-2014 and PHOENIX-2014-T are popular large scale German sign language datasets developed by Human Language Technology & Pattern Recognition Group from RWTH Aachen University, Germany. This package provides a PyTorch dataset wrapper for those two datasets to make the building of PyTorch model on these two datasets easier.
Installation
pip install git+https://github.com/enhuiz/phoenix-datasets
Example Usage
from phoenix_datasets import PhoenixVideoTextDataset
from torch.utils.data import DataLoader
dtrain = PhoenixVideoTextDataset(
# your path to this folder, download it from official website first.
root="data/phoenix-2014-multisigner",
split="train",
p_drop=0.5,
random_drop=True,
)
vocab = dtrain.vocab
print("Vocab", vocab)
dl = DataLoader(dtrain, collate_fn=dtrain.collate_fn)
for batch in dl:
video = batch["video"]
text = batch["text"]
# Do per-frame augmentation (e.g. normalization, cropping) here if needed.
# kornia will be a good tool for this
# video = augment(video)
assert len(video) == len(text)
print(len(video))
print(video[0].shape)
print(text[0].shape)
break
Supported Features
- Load the automatic alignments for PHOENIX-2014
- Randomly/evenly frame dropping augmentation
TODOs
- Implement Corpus for PHOENIX-2014-T
- Evaluation Wrappers
Metadata
Release files for phoenix-datasets 0.0.1.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phoenix_datasets-0.0.1.dev0.tar.gz | 4.5 kB | Without provenance | Details for phoenix_datasets-0.0.1.dev0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phoenix_datasets-0.0.1.dev0-py3-none-any.whl | Python 3 | none | any | Details for phoenix_datasets-0.0.1.dev0-py3-none-any.whl |
Total release size: 10.7 kB
Release files / phoenix_datasets-0.0.1.dev0.tar.gz
| Download URL | phoenix_datasets-0.0.1.dev0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acbc587b2e9d56ec62ce8c5ecb1153f83ba1acac2706302e4d7b5a2f636346f3
|
|
BLAKE2b-256 checksum How to use checksums |
edabea80ec83b3ddddfc3309ba4e46071e740d59fc1b101864399ccdd3873e6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
|
Release files / phoenix_datasets-0.0.1.dev0-py3-none-any.whl
| Download URL | phoenix_datasets-0.0.1.dev0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1ce79c9525476273f3800cec636000db5cb77d94316b554334284afdf12dfad
|
|
BLAKE2b-256 checksum How to use checksums |
e5178b9f2fc50188a853a13b9c660405482c135fa4866ecfd6af816eff1a21d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
|
Security for phoenix-datasets 0.0.1.dev0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.