Update NSynth.py
Browse filesRemoved 'id' variable as it is identical to 'note_str'; I didn't realize previously that I had added this variable myself. Regardless, there is no need for it.
NSynth.py
CHANGED
@@ -85,8 +85,7 @@ class NSynth(datasets.GeneratorBasedBuilder):
|
|
85 |
audio_filename = os.path.join(audio_path, filename)
|
86 |
key = filename.replace('.wav', '')
|
87 |
yield key, {
|
88 |
-
"
|
89 |
-
"note": examples[key]["note"],
|
90 |
"note_str": examples[key]["note_str"],
|
91 |
"instrument": examples[key]["instrument"],
|
92 |
"instrument_str": examples[key]["instrument_str"],
|
|
|
85 |
audio_filename = os.path.join(audio_path, filename)
|
86 |
key = filename.replace('.wav', '')
|
87 |
yield key, {
|
88 |
+
"note": key,
|
|
|
89 |
"note_str": examples[key]["note_str"],
|
90 |
"instrument": examples[key]["instrument"],
|
91 |
"instrument_str": examples[key]["instrument_str"],
|