add requirements, change order in readme
Browse files
README.md
CHANGED
@@ -22,18 +22,9 @@ This dataset downloads LibriTTS and preprocesses it on your machine to create al
|
|
22 |
You need to run ``pip install alignments phones`` before using this dataset.
|
23 |
When running this the first time, it can take an hour or two, but subsequent runs will be lightning fast.
|
24 |
|
25 |
-
##
|
26 |
-
|
27 |
-
|
28 |
-
- ``train``: All the training data, except one sample per speaker which is used for validation.
|
29 |
-
- ``dev``: The validation data, one sample per speaker.
|
30 |
-
- ``train.clean.100``: Training set derived from the original materials of the train-clean-100 subset of LibriSpeech.
|
31 |
-
- ``train.clean.360``: Training set derived from the original materials of the train-clean-360 subset of LibriSpeech.
|
32 |
-
- ``train.other.500``: Training set derived from the original materials of the train-other-500 subset of LibriSpeech.
|
33 |
-
- ``dev.clean``: Validation set derived from the original materials of the dev-clean subset of LibriSpeech.
|
34 |
-
- ``dev.other``: Validation set derived from the original materials of the dev-other subset of LibriSpeech.
|
35 |
-
- ``test.clean``: Test set derived from the original materials of the test-clean subset of LibriSpeech.
|
36 |
-
- ``test.other``: Test set derived from the original materials of the test-other subset of LibriSpeech.
|
37 |
|
38 |
## Example Item
|
39 |
|
@@ -52,14 +43,6 @@ This dataset has the following splits:
|
|
52 |
|
53 |
The phones are IPA phones, and the phone durations are in frames (assuming a hop length of 256, sample rate of 22050 and window length of 1024). These attributes can be changed using the ``hop_length``, ``sample_rate`` and ``window_length`` arguments to ``LibriTTSAlign``.
|
54 |
|
55 |
-
## Environment Variables
|
56 |
-
|
57 |
-
There are a few environment variable which can be set.
|
58 |
-
|
59 |
-
- ``LIBRITTS_VERBOSE``: If set, will print out more information about the dataset creation process.
|
60 |
-
- ``LIBRITTS_MAX_WORKERS``: The number of workers to use when creating the alignments. Defaults to ``cpu_count()``.
|
61 |
-
- ``LIBRITTS_PATH``: The path to download LibriTTS to. Defaults to the value of ``HF_DATASETS_CACHE``.
|
62 |
-
|
63 |
## Data Collator
|
64 |
|
65 |
This dataset comes with a data collator which can be used to create batches of data for training.
|
@@ -127,6 +110,27 @@ dataloader = DataLoader(dataset, collate_fn=collator.collate_fn, batch_size=8)
|
|
127 |
|
128 |
COMING SOON: Detailed documentation on how to use the measures at [MiniXC/speech-collator](https://www.github.com/MiniXC/speech-collator).
|
129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
# Citation
|
131 |
|
132 |
When using LibriTTS please cite the following papers:
|
|
|
22 |
You need to run ``pip install alignments phones`` before using this dataset.
|
23 |
When running this the first time, it can take an hour or two, but subsequent runs will be lightning fast.
|
24 |
|
25 |
+
## Requirements
|
26 |
+
- ``pip install alignments phones`` **(required)**
|
27 |
+
- ``pip install speech-collator`` (optional)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
## Example Item
|
30 |
|
|
|
43 |
|
44 |
The phones are IPA phones, and the phone durations are in frames (assuming a hop length of 256, sample rate of 22050 and window length of 1024). These attributes can be changed using the ``hop_length``, ``sample_rate`` and ``window_length`` arguments to ``LibriTTSAlign``.
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
## Data Collator
|
47 |
|
48 |
This dataset comes with a data collator which can be used to create batches of data for training.
|
|
|
110 |
|
111 |
COMING SOON: Detailed documentation on how to use the measures at [MiniXC/speech-collator](https://www.github.com/MiniXC/speech-collator).
|
112 |
|
113 |
+
## Splits
|
114 |
+
|
115 |
+
This dataset has the following splits:
|
116 |
+
- ``train``: All the training data, except one sample per speaker which is used for validation.
|
117 |
+
- ``dev``: The validation data, one sample per speaker.
|
118 |
+
- ``train.clean.100``: Training set derived from the original materials of the train-clean-100 subset of LibriSpeech.
|
119 |
+
- ``train.clean.360``: Training set derived from the original materials of the train-clean-360 subset of LibriSpeech.
|
120 |
+
- ``train.other.500``: Training set derived from the original materials of the train-other-500 subset of LibriSpeech.
|
121 |
+
- ``dev.clean``: Validation set derived from the original materials of the dev-clean subset of LibriSpeech.
|
122 |
+
- ``dev.other``: Validation set derived from the original materials of the dev-other subset of LibriSpeech.
|
123 |
+
- ``test.clean``: Test set derived from the original materials of the test-clean subset of LibriSpeech.
|
124 |
+
- ``test.other``: Test set derived from the original materials of the test-other subset of LibriSpeech.
|
125 |
+
|
126 |
+
## Environment Variables
|
127 |
+
|
128 |
+
There are a few environment variable which can be set.
|
129 |
+
|
130 |
+
- ``LIBRITTS_VERBOSE``: If set, will print out more information about the dataset creation process.
|
131 |
+
- ``LIBRITTS_MAX_WORKERS``: The number of workers to use when creating the alignments. Defaults to ``cpu_count()``.
|
132 |
+
- ``LIBRITTS_PATH``: The path to download LibriTTS to. Defaults to the value of ``HF_DATASETS_CACHE``.
|
133 |
+
|
134 |
# Citation
|
135 |
|
136 |
When using LibriTTS please cite the following papers:
|