Datasets:
admin commited on
Commit ·
7543b32
1
Parent(s): d8bd952
upd md
Browse files- .gitignore +0 -1
- README.md +12 -26
.gitignore
CHANGED
|
@@ -1,3 +1,2 @@
|
|
| 1 |
-
rename.sh
|
| 2 |
test.*
|
| 3 |
*__pycache__*
|
|
|
|
|
|
|
| 1 |
test.*
|
| 2 |
*__pycache__*
|
README.md
CHANGED
|
@@ -109,7 +109,7 @@ This dataset is created by the authors and encompasses two distinct singing styl
|
|
| 109 |
## Integration
|
| 110 |
Since this is a self-created dataset, we directly carry out the unified integration of the data structure. After integration, the data structure of the dataset is as follows: audio (with a sampling rate of 22,050 Hz), mel spectrograms, 4-class numerical label, gender label and singing style label. The data number remains 203, with a total duration of 5.08 hours. The average duration is 90 seconds.
|
| 111 |
|
| 112 |
-
We have constructed the [default subset](#
|
| 113 |
|
| 114 |
## Statistics
|
| 115 |
|  |  |  |
|
|
@@ -130,12 +130,9 @@ Firstly, **Fig. 1** presents the clip number of each category. The label with th
|
|
| 130 |
<https://huggingface.co/datasets/ccmusic-database/bel_canto/viewer>
|
| 131 |
|
| 132 |
### Eval Subset Splits
|
| 133 |
-
|
|
| 134 |
-
| :--------: | :---: |
|
| 135 |
-
|
|
| 136 |
-
| validation | 990 |
|
| 137 |
-
| test | 994 |
|
| 138 |
-
| total | 9910 |
|
| 139 |
|
| 140 |
### Data Instances
|
| 141 |
.zip(.wav, .jpg)
|
|
@@ -144,28 +141,17 @@ Firstly, **Fig. 1** presents the clip number of each category. The label with th
|
|
| 144 |
m_bel, f_bel, m_folk, f_folk
|
| 145 |
|
| 146 |
## Usage
|
| 147 |
-
### Default Subset
|
| 148 |
```python
|
| 149 |
from datasets import load_dataset
|
| 150 |
|
| 151 |
-
ds = load_dataset(
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
ds = load_dataset("ccmusic-database/bel_canto", name="eval")
|
| 161 |
-
for item in ds["train"]:
|
| 162 |
-
print(item)
|
| 163 |
-
|
| 164 |
-
for item in ds["validation"]:
|
| 165 |
-
print(item)
|
| 166 |
-
|
| 167 |
-
for item in ds["test"]:
|
| 168 |
-
print(item)
|
| 169 |
```
|
| 170 |
|
| 171 |
## Maintenance
|
|
|
|
| 109 |
## Integration
|
| 110 |
Since this is a self-created dataset, we directly carry out the unified integration of the data structure. After integration, the data structure of the dataset is as follows: audio (with a sampling rate of 22,050 Hz), mel spectrograms, 4-class numerical label, gender label and singing style label. The data number remains 203, with a total duration of 5.08 hours. The average duration is 90 seconds.
|
| 111 |
|
| 112 |
+
We have constructed the [default subset](#usage) of the current integrated version of the dataset, and its data structure can be viewed in the [viewer](https://huggingface.co/datasets/ccmusic-database/bel_canto/viewer). Since the default subset has not been evaluated, to verify its effectiveness, we have built the [eval subset](#usage) based on the default subset for the evaluation of the integrated version of the dataset. The evaluation results can be seen in the [bel_canto](https://huggingface.co/ccmusic-database/bel_canto). Below are the data structures and invocation methods of the subsets.
|
| 113 |
|
| 114 |
## Statistics
|
| 115 |
|  |  |  |
|
|
|
|
| 130 |
<https://huggingface.co/datasets/ccmusic-database/bel_canto/viewer>
|
| 131 |
|
| 132 |
### Eval Subset Splits
|
| 133 |
+
| Split | train | validation | test | total |
|
| 134 |
+
| :---: | :---: | :--------: | :---: | :---: |
|
| 135 |
+
| 8:1:1 | 7,926 | 990 | 994 | 9,910 |
|
|
|
|
|
|
|
|
|
|
| 136 |
|
| 137 |
### Data Instances
|
| 138 |
.zip(.wav, .jpg)
|
|
|
|
| 141 |
m_bel, f_bel, m_folk, f_folk
|
| 142 |
|
| 143 |
## Usage
|
|
|
|
| 144 |
```python
|
| 145 |
from datasets import load_dataset
|
| 146 |
|
| 147 |
+
ds = load_dataset(
|
| 148 |
+
"ccmusic-database/bel_canto",
|
| 149 |
+
name="default", # default / eval
|
| 150 |
+
split="train", # train / validation / test (default only has train)
|
| 151 |
+
cache_dir="./__pycache__",
|
| 152 |
+
)
|
| 153 |
+
for i in ds:
|
| 154 |
+
print(i)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 155 |
```
|
| 156 |
|
| 157 |
## Maintenance
|