This release is a pre-release and may not be stable for production use.
SLT Datasets Downloader
Overview
SLT Datasets Downloader is a Python library that allows users to download and process multiple sign language translation (SLT) datasets from different languages. It is designed to facilitate the training of machine learning models for SLT tasks.
Features
- Supports multiple sign language datasets.
- Provides tools for downloading, preprocessing, and tokenizing datasets.
- Compatible with PyTorch for model training.
- Handles different input types (video, pose) and output types (text, gloss).
Supported Datasets
The following datasets are supported:
| Name | Input Language | Target Language | Status | # Samples | Hs | Video | Pose | Transcription | Gloss | Other data | # Words | # Singletons | # Signers | Source | BLEU (4) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RWTH-PHOENIX Weather 2014 T | GSL | German | Downloaded | 7,096 | 10 | Yes | No | Yes | Yes | - | 2,887 | 1,077 | 9 | TV | 28.95 |
| LSA-T | LSA | Spanish | Downloaded | 14,880 | 22 | Yes | Yes (MP) | Yes | No | - | 14,239 | 7,150 | 103 | Web | 0.93 (WER) |
| How2Sign | ASL | English | Downloaded | 35,000 | 80 | Yes | Yes | Yes | Yes | Multiple angles, 3D pose, Speech | 16,000 | - | 11 | - | 8.03 |
| LSFB-CONT | French-Belgian SL | French-Belgian Glosses | Downloaded | 85,000 | 25 | Yes | Yes (MP) | No | Yes | - | 6,883 | - | 100 | Laboratory | - |
| ISLTranslate | Indian SL | English | Downloaded | 31,222 | - | Yes | Yes (MP) | Yes | No | - | 11,655 | - | - | - | 6.09 |
| GSL | Greek SL (GSL) | Greek | Downloaded | 40,826 | 10 | Yes | No | No | Yes | Depth | 310 | 0 | 7 | Laboratory | 20.62 (WER) |
Installation
To install the library and its dependencies, run:
pip install -r requirements.txt
Usage
Loading a Dataset
from slt_datasets.SLTDataset import SLTDataset
dataset = SLTDataset(
data_dir="/path/to/dataset",
input_mode="video",
output_mode="text",
split="train"
)
Accessing Samples
sample_input, sample_output = dataset[0]
Visualizing Pose Data
dataset.visualize_pose(0)
Project Structure
|-src
| |-slt_datasets
| | |-SLTDataset.py # Main dataset loader
| | |-WordLevelTokenizer.py # Tokenizer for text processing
| | |-dataset_comparison.ipynb # Notebook for dataset comparison
|-tests
| |-test_methods.py # Unit tests for the dataset loader
|-docs # Documentation files
|-requirements.txt # Dependency list
|-pyproject.toml # Project configuration
|-README.md # This file
Contributing
Contributions are welcome! Please follow the guidelines in CONTRIBUTING.md and ensure your code passes all tests before submitting a pull request.
License
This project is licensed under the terms of the LICENSE file.
Support
For any issues or questions, please refer to SUPPORT.md or open an issue in the repository.
Metadata
Release files for slt_datasets 0.0.2rc45.post1
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 |
|---|---|---|---|---|
| slt_datasets-0.0.2rc45.post1.tar.gz | 255.9 kB | Without provenance | Details for slt_datasets-0.0.2rc45.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| slt_datasets-0.0.2rc45.post1-py3-none-any.whl | Python 3 | none | any | Details for slt_datasets-0.0.2rc45.post1-py3-none-any.whl |
Total release size: 494.3 kB
Release files / slt_datasets-0.0.2rc45.post1.tar.gz
| Download URL | slt_datasets-0.0.2rc45.post1.tar.gz |
|---|---|
| Size | 255.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8611a5de20f0ee0077ceb77613cb8dcea9e4aa3d8d94e8607073ea76773819a1
|
|
BLAKE2b-256 checksum How to use checksums |
2d48504a0234f66d4bb8096a5581216ca16f8c2627a46ca91cf26db793e0d100
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Release files / slt_datasets-0.0.2rc45.post1-py3-none-any.whl
| Download URL | slt_datasets-0.0.2rc45.post1-py3-none-any.whl |
|---|---|
| Size | 238.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5772beb06326bfa8f9c4689ed8b0d0b5cfac578bf49211efe128577ce935dfcd
|
|
BLAKE2b-256 checksum How to use checksums |
a3b7e5f48f6f4abb8eaf4550639de8458485c5be13dfa3671429e18b17f32b28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.3
|
Security for slt_datasets 0.0.2rc45.post1
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.