asigalov61
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -44,8 +44,12 @@ configs:
|
|
44 |
### Load dataset
|
45 |
|
46 |
```python
|
|
|
|
|
47 |
from datasets import load_dataset
|
48 |
|
|
|
|
|
49 |
monster_piano = load_dataset('asigalov61/Monster-Piano')
|
50 |
|
51 |
dataset_split = 'train'
|
@@ -55,9 +59,11 @@ dataset_entry = monster_piano[dataset_split][dataset_entry_index]
|
|
55 |
|
56 |
midi_hash = dataset_entry['midi_hash']
|
57 |
midi_score = dataset_entry['midi_score']
|
|
|
58 |
|
59 |
print(midi_hash)
|
60 |
print(midi_score[:15])
|
|
|
61 |
```
|
62 |
|
63 |
***
|
|
|
44 |
### Load dataset
|
45 |
|
46 |
```python
|
47 |
+
#===================================================================
|
48 |
+
|
49 |
from datasets import load_dataset
|
50 |
|
51 |
+
#===================================================================
|
52 |
+
|
53 |
monster_piano = load_dataset('asigalov61/Monster-Piano')
|
54 |
|
55 |
dataset_split = 'train'
|
|
|
59 |
|
60 |
midi_hash = dataset_entry['midi_hash']
|
61 |
midi_score = dataset_entry['midi_score']
|
62 |
+
midi_signature = dataset_entry['midi_signature']
|
63 |
|
64 |
print(midi_hash)
|
65 |
print(midi_score[:15])
|
66 |
+
print(midi_signature[:4])
|
67 |
```
|
68 |
|
69 |
***
|