Correct YouTube-Commons README with the correct call to the scripts
Browse files
scripts/YouTube-Commons-README.md
CHANGED
|
@@ -89,12 +89,12 @@ Where `${LOG_FILE}` is `yt-commons-en.silero.json.gz` for English, and `yt-commo
|
|
| 89 |
To split the reduced audio into segments with a controlled duration, download and install SHAS following
|
| 90 |
[the official README](https://github.com/mt-upc/SHAS?tab=readme-ov-file#usage) in the `${SHAS_ROOT}` folder.
|
| 91 |
|
|
|
|
| 92 |
```bash
|
| 93 |
-
python
|
| 94 |
-wavs ${PATH_TO_WAVS} \
|
| 95 |
-ckpt ${CHECKPOINT_PATH} \
|
| 96 |
-
-yaml ${OUTPUT_YAML}
|
| 97 |
-
-max 30
|
| 98 |
```
|
| 99 |
|
| 100 |
Where `${PATH_TO_WAVS}` is the path to the wav files obtained from Silero and stored in `${AUDIO_SEGMENT_DIR}`,
|
|
|
|
| 89 |
To split the reduced audio into segments with a controlled duration, download and install SHAS following
|
| 90 |
[the official README](https://github.com/mt-upc/SHAS?tab=readme-ov-file#usage) in the `${SHAS_ROOT}` folder.
|
| 91 |
|
| 92 |
+
To generate the final segmentation, run:
|
| 93 |
```bash
|
| 94 |
+
python ./segment-ytc.py --not_strict \
|
| 95 |
-wavs ${PATH_TO_WAVS} \
|
| 96 |
-ckpt ${CHECKPOINT_PATH} \
|
| 97 |
+
-yaml ${OUTPUT_YAML}
|
|
|
|
| 98 |
```
|
| 99 |
|
| 100 |
Where `${PATH_TO_WAVS}` is the path to the wav files obtained from Silero and stored in `${AUDIO_SEGMENT_DIR}`,
|