Commit
·
93bda80
1
Parent(s):
ef70ae7
change laoding script
Browse files- spectrogram_musicCaps.py +1 -1
spectrogram_musicCaps.py
CHANGED
@@ -135,6 +135,6 @@ class spectrogram_musicCaps(datasets.GeneratorBasedBuilder):
|
|
135 |
data = json.loads(line)
|
136 |
# file_path = os.path.join(data["file_name"])
|
137 |
yield data["file_name"], {
|
138 |
-
"image":
|
139 |
"caption":data["caption"]
|
140 |
}
|
|
|
135 |
data = json.loads(line)
|
136 |
# file_path = os.path.join(data["file_name"])
|
137 |
yield data["file_name"], {
|
138 |
+
"image": data["file_name"],
|
139 |
"caption":data["caption"]
|
140 |
}
|