upd: new try
Browse files- README.md +0 -39
- rwth_phoenix_weather_2014.py +2 -4
README.md
CHANGED
@@ -1,42 +1,3 @@
|
|
1 |
-
---
|
2 |
-
dataset_info:
|
3 |
-
- config_name: multisigner
|
4 |
-
features:
|
5 |
-
- name: tokens
|
6 |
-
sequence: string
|
7 |
-
- name: frames
|
8 |
-
sequence: image
|
9 |
-
splits:
|
10 |
-
- name: train
|
11 |
-
num_bytes: 35090699166
|
12 |
-
num_examples: 5672
|
13 |
-
- name: validation
|
14 |
-
num_bytes: 3294861848
|
15 |
-
num_examples: 540
|
16 |
-
- name: test
|
17 |
-
num_bytes: 3935889563
|
18 |
-
num_examples: 629
|
19 |
-
download_size: 43042303939
|
20 |
-
dataset_size: 42321450577
|
21 |
-
- config_name: signerindependent
|
22 |
-
features:
|
23 |
-
- name: tokens
|
24 |
-
sequence: string
|
25 |
-
- name: frames
|
26 |
-
sequence: image
|
27 |
-
splits:
|
28 |
-
- name: train
|
29 |
-
num_bytes: 26933878872
|
30 |
-
num_examples: 4376
|
31 |
-
- name: validation
|
32 |
-
num_bytes: 720567494
|
33 |
-
num_examples: 111
|
34 |
-
- name: test
|
35 |
-
num_bytes: 1175795394
|
36 |
-
num_examples: 180
|
37 |
-
download_size: 29320607031
|
38 |
-
dataset_size: 28830241760
|
39 |
-
---
|
40 |
# RWTH-Weather-Phoenix 2014
|
41 |
|
42 |
This archive contains two sets of the RWTH-Weather-Phoenix 2014 corpus
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# RWTH-Weather-Phoenix 2014
|
2 |
|
3 |
This archive contains two sets of the RWTH-Weather-Phoenix 2014 corpus
|
rwth_phoenix_weather_2014.py
CHANGED
@@ -79,12 +79,10 @@ class RWTHPhoenixWeather2014(datasets.GeneratorBasedBuilder):
|
|
79 |
|
80 |
def _info(self):
|
81 |
features_dict = {
|
|
|
82 |
"transcription": datasets.Value("string"),
|
83 |
}
|
84 |
|
85 |
-
if self.config.name != "pre-training":
|
86 |
-
features_dict["frames"] = datasets.Sequence(feature=datasets.Image())
|
87 |
-
|
88 |
return datasets.DatasetInfo(
|
89 |
description=_DESCRIPTION + self.config.description,
|
90 |
features=datasets.Features(features_dict),
|
@@ -97,7 +95,6 @@ class RWTHPhoenixWeather2014(datasets.GeneratorBasedBuilder):
|
|
97 |
|
98 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
99 |
dfs = {}
|
100 |
-
split_frames = {}
|
101 |
file_ids = {}
|
102 |
|
103 |
dataDirMapper = {
|
@@ -139,6 +136,7 @@ class RWTHPhoenixWeather2014(datasets.GeneratorBasedBuilder):
|
|
139 |
entry = df[df["id"] == idx]
|
140 |
|
141 |
result = {
|
|
|
142 |
"transcription": entry["annotation"],
|
143 |
}
|
144 |
|
|
|
79 |
|
80 |
def _info(self):
|
81 |
features_dict = {
|
82 |
+
"id": datasets.Value("string"),
|
83 |
"transcription": datasets.Value("string"),
|
84 |
}
|
85 |
|
|
|
|
|
|
|
86 |
return datasets.DatasetInfo(
|
87 |
description=_DESCRIPTION + self.config.description,
|
88 |
features=datasets.Features(features_dict),
|
|
|
95 |
|
96 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
97 |
dfs = {}
|
|
|
98 |
file_ids = {}
|
99 |
|
100 |
dataDirMapper = {
|
|
|
136 |
entry = df[df["id"] == idx]
|
137 |
|
138 |
result = {
|
139 |
+
"id": idx,
|
140 |
"transcription": entry["annotation"],
|
141 |
}
|
142 |
|