Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Speechbrain Speechbrain Prepare UrbanSound8k Root

From Leeroopedia
Revision as of 16:45, 16 February 2026 by Admin (talk | contribs) (Auto-imported from implementations/Speechbrain_Speechbrain_Prepare_UrbanSound8k_Root.md)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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

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