MahiA commited on
Commit
874869c
·
verified ·
1 Parent(s): be5b12a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -5
README.md CHANGED
@@ -9,15 +9,25 @@ This is an audio classification dataset for **Instrument Classification**.
9
  **Classes = 4   ,   Split = Five-Fold**
10
 
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  ## Acknowledgment
14
- This dataset is a slightly processed version of data originally created by [Source](https://compmusic.upf.edu/bo-perc-dataset).<br>
15
  Please refer to the respective source for their licensing details and any additional information.
16
 
17
- ## Structure
18
- - `audios` folder contains audio files.
19
- - `csv_files` folder contains CSV files for five-fold cross-validation.
20
- - To perform cross-validation on fold 1, `train_1.csv` will be used for the training split and `test_1.csv` for the testing split, with the same pattern followed for the other folds.
21
 
22
 
23
  ## Contact
 
9
  **Classes = 4 &nbsp;&nbsp;,&nbsp;&nbsp; Split = Five-Fold**
10
 
11
 
12
+ ## Structure
13
+ - `audios` folder contains audio files.
14
+ - `csv_files` folder contains CSV files for **five-fold** cross-validation.
15
+ - To perform cross-validation on fold 1, `train_1.csv` will be used for the training split and `test_1.csv` for the testing split, with the same pattern followed for the other folds.
16
+
17
+ ## Download
18
+ ```python
19
+ import os
20
+ import huggingface_hub
21
+ audio_datasets_path = "DATASET_PATH/Audio-Datasets"
22
+ if not os.path.exists(audio_datasets_path): print(f"Given {audio_datasets_path=} does not exist. Specify a valid path ending with 'Audio-Datasets' folder.")
23
+ huggingface_hub.snapshot_download(repo_id="MahiA/Beijing-Opera", repo_type="dataset", local_dir=os.path.join(audio_datasets_path, "Beijing-Opera")
24
+ ```
25
+
26
 
27
  ## Acknowledgment
28
+ This dataset is a slightly processed/restructured version of data originally created by [Source](https://compmusic.upf.edu/bo-perc-dataset).<br>
29
  Please refer to the respective source for their licensing details and any additional information.
30
 
 
 
 
 
31
 
32
 
33
  ## Contact