update(builder): adjust urls and config names
Browse files
wlasl.py
CHANGED
|
@@ -9,7 +9,6 @@ logger = datasets.logging.get_logger(__name__)
|
|
| 9 |
|
| 10 |
|
| 11 |
_CITATION = """
|
| 12 |
-
|
| 13 |
"""
|
| 14 |
_DESCRIPTION = """
|
| 15 |
"""
|
|
@@ -17,7 +16,7 @@ _HOMEPAGE = "https://github.com/dxli94/WLASL"
|
|
| 17 |
_REPO_URL = "https://huggingface.co/datasets/VieSignLang/wlasl/resolve/main"
|
| 18 |
_URLS = {
|
| 19 |
"meta": f"{_REPO_URL}/WLASL_v0.3.json",
|
| 20 |
-
"videos": f"{_REPO_URL}/videos/*.zip",
|
| 21 |
}
|
| 22 |
|
| 23 |
|
|
@@ -44,9 +43,9 @@ class WLASLConfig(datasets.BuilderConfig):
|
|
| 44 |
class WLASL(datasets.GeneratorBasedBuilder):
|
| 45 |
"""WLASL dataset."""
|
| 46 |
BUILDER_CONFIGS = [
|
| 47 |
-
WLASLConfig(name="
|
| 48 |
]
|
| 49 |
-
DEFAULT_CONFIG_NAME = "
|
| 50 |
|
| 51 |
def _info(self) -> datasets.DatasetInfo:
|
| 52 |
features = datasets.Features({
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
_CITATION = """
|
|
|
|
| 12 |
"""
|
| 13 |
_DESCRIPTION = """
|
| 14 |
"""
|
|
|
|
| 16 |
_REPO_URL = "https://huggingface.co/datasets/VieSignLang/wlasl/resolve/main"
|
| 17 |
_URLS = {
|
| 18 |
"meta": f"{_REPO_URL}/WLASL_v0.3.json",
|
| 19 |
+
"videos": f"{_REPO_URL}/start_kit/videos/*.zip",
|
| 20 |
}
|
| 21 |
|
| 22 |
|
|
|
|
| 43 |
class WLASL(datasets.GeneratorBasedBuilder):
|
| 44 |
"""WLASL dataset."""
|
| 45 |
BUILDER_CONFIGS = [
|
| 46 |
+
WLASLConfig(name="rgb_videos"),
|
| 47 |
]
|
| 48 |
+
DEFAULT_CONFIG_NAME = "rgb_videos"
|
| 49 |
|
| 50 |
def _info(self) -> datasets.DatasetInfo:
|
| 51 |
features = datasets.Features({
|