Datasets:
Tasks:
Audio Classification
Size Categories:
1K<n<10K
ArXiv:
Tags:
anomaly detection
anomalous sound detection
acoustic condition monitoring
sound machine fault diagnosis
machine learning
unsupervised learning
License:
temp json
Browse files
dcase23-task2-enriched.py
CHANGED
@@ -217,7 +217,7 @@ class DCASE2023Task2DatasetConfig(datasets.BuilderConfig):
|
|
217 |
return df.copy()
|
218 |
|
219 |
def get_layout(self, config: str = "standard") -> str:
|
220 |
-
layout_json = tempfile.mktemp()
|
221 |
with open(layout_json, "w") as outfile:
|
222 |
json.dump(self.layout[config], outfile)
|
223 |
|
|
|
217 |
return df.copy()
|
218 |
|
219 |
def get_layout(self, config: str = "standard") -> str:
|
220 |
+
layout_json = tempfile.mktemp(".json")
|
221 |
with open(layout_json, "w") as outfile:
|
222 |
json.dump(self.layout[config], outfile)
|
223 |
|