File size: 1,372 Bytes
55563ff
 
 
 
 
 
 
 
be5b12a
55563ff
 
874869c
 
 
 
42e1f0e
874869c
 
 
 
 
 
5253758
874869c
 
55563ff
 
5af11a8
55563ff
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
license: mit
---

# Beijing-Opera

This is an audio classification dataset for **Instrument Classification**.

**Classes = 4    ,    Split = Five-Fold** 


## Structure
- `audios` folder contains audio files.
- `csv_files` folder contains CSV files for **five-fold** cross-validation.
- 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.
- To perform training and testing **witout cross-validation**, use `csv_files/train.csv` and `csv_files/test.csv` files respectively.
## Download
```python
import os
import huggingface_hub
audio_datasets_path = "DATASET_PATH/Audio-Datasets"
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.")
huggingface_hub.snapshot_download(repo_id="MahiA/Beijing-Opera", repo_type="dataset", local_dir=os.path.join(audio_datasets_path, "Beijing-Opera"))
```


## Acknowledgment
This dataset is a slightly processed/restructured version of data originally released by [Source](https://compmusic.upf.edu/bo-perc-dataset).<br>
Please refer to the respective source for their licensing details and any additional information.



## Contact
For questions or feedback, please create an issue.