Implementation:Speechbrain Speechbrain Prepare UrbanSound8k Root
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Sound_Classification, Data_Preparation |
| Last Updated | 2026-02-09 00:00 GMT |
Overview
Variant copy of the UrbanSound8K data preparation script located at the recipe root level. This file is identical to the canonical version used in the SoundClassification recipe.
Canonical Page
See Implementation:Speechbrain_Speechbrain_Prepare_UrbanSound8k for full documentation.
Code Reference
Source Location
- Repository: SpeechBrain
- File: recipes/UrbanSound8k/urbansound8k_prepare.py
Signature
def prepare_urban_sound_8k(
data_folder,
audio_data_folder,
save_json_train,
save_json_valid,
save_json_test,
train_fold_nums=[1, 2, 3, 4, 5, 6, 7, 8],
valid_fold_nums=[9],
test_fold_nums=[10],
skip_manifest_creation=False,
):
Import
from urbansound8k_prepare import prepare_urban_sound_8k
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment