Syoy commited on
Commit
e07783f
1 Parent(s): 79dd515

added baseline predictions

Browse files
data/dev_metadata_extended.csv ADDED
The diff for this file is too large to render. See raw diff
 
dcase23-task2-enriched.py CHANGED
@@ -52,22 +52,22 @@ DATA_URLS = {
52
  "dev": {
53
  "train": "data/dev_train.tar.gz",
54
  "test": "data/dev_test.tar.gz",
55
- "metadata": "data/dev_metadata.csv",
56
  },
57
  "add": {
58
  "train": "data/add_train.tar.gz",
59
  "test": "data/add_test.tar.gz",
60
- "metadata": "data/add_metadata.csv",
61
  },
62
  "eval": {
63
  "test": "data/eval_test.tar.gz",
64
- "metadata": "data/eval_metadata.csv",
65
  },
66
  }
67
 
68
  EMBEDDING_URLS = {
69
  "dev": {
70
- "ast-finetuned-audioset-10-10-0.4593-embeddings": {
71
  "train": "data/MIT_ast-finetuned-audioset-10-10-0-4593-embeddings_dev_train.npz",
72
  "test": "data/MIT_ast-finetuned-audioset-10-10-0-4593-embeddings_dev_test.npz",
73
  "size": (1, 768),
@@ -75,13 +75,13 @@ EMBEDDING_URLS = {
75
  },
76
  },
77
  "add": {
78
- "ast-finetuned-audioset-10-10-0.4593-embeddings": {
79
  "train": "",
80
  "test": "",
81
  },
82
  },
83
  "eval": {
84
- "ast-finetuned-audioset-10-10-0.4593-embeddings": {
85
  "train": "",
86
  "test": "",
87
  },
@@ -354,7 +354,7 @@ class DCASE2023Task2Dataset(datasets.GeneratorBasedBuilder):
354
  features = {
355
  "audio": datasets.Audio(sampling_rate=16_000),
356
  "path": datasets.Value("string"),
357
- "section": datasets.Value("uint32"),
358
  "domain": datasets.ClassLabel(num_classes=2, names=["source", "target"]),
359
  "label": datasets.ClassLabel(num_classes=_NUM_TARGETS, names=_TARGET_NAMES),
360
  "class": datasets.ClassLabel(num_classes=_NUM_CLASSES, names=_CLASS_NAMES),
@@ -364,6 +364,9 @@ class DCASE2023Task2Dataset(datasets.GeneratorBasedBuilder):
364
  "d2v": datasets.Value("string"),
365
  "d3p": datasets.Value("string"),
366
  "d3v": datasets.Value("string"),
 
 
 
367
  }
368
  if self.config.embeddings_urls is not None:
369
  features.update({
 
52
  "dev": {
53
  "train": "data/dev_train.tar.gz",
54
  "test": "data/dev_test.tar.gz",
55
+ "metadata": "data/dev_metadata_extended.csv",
56
  },
57
  "add": {
58
  "train": "data/add_train.tar.gz",
59
  "test": "data/add_test.tar.gz",
60
+ "metadata": "data/add_metadata_extended.csv",
61
  },
62
  "eval": {
63
  "test": "data/eval_test.tar.gz",
64
+ "metadata": "data/eval_metadata_extended.csv",
65
  },
66
  }
67
 
68
  EMBEDDING_URLS = {
69
  "dev": {
70
+ "embeddings_ast-finetuned-audioset-10-10-0.4593": {
71
  "train": "data/MIT_ast-finetuned-audioset-10-10-0-4593-embeddings_dev_train.npz",
72
  "test": "data/MIT_ast-finetuned-audioset-10-10-0-4593-embeddings_dev_test.npz",
73
  "size": (1, 768),
 
75
  },
76
  },
77
  "add": {
78
+ "embeddings_ast-finetuned-audioset-10-10-0.4593": {
79
  "train": "",
80
  "test": "",
81
  },
82
  },
83
  "eval": {
84
+ "embeddings_ast-finetuned-audioset-10-10-0.4593": {
85
  "train": "",
86
  "test": "",
87
  },
 
354
  features = {
355
  "audio": datasets.Audio(sampling_rate=16_000),
356
  "path": datasets.Value("string"),
357
+ "section": datasets.Value("int64"),
358
  "domain": datasets.ClassLabel(num_classes=2, names=["source", "target"]),
359
  "label": datasets.ClassLabel(num_classes=_NUM_TARGETS, names=_TARGET_NAMES),
360
  "class": datasets.ClassLabel(num_classes=_NUM_CLASSES, names=_CLASS_NAMES),
 
364
  "d2v": datasets.Value("string"),
365
  "d3p": datasets.Value("string"),
366
  "d3v": datasets.Value("string"),
367
+ "anomaly_score_dcase2023_task2_baseline_ae": datasets.Value("float32"),
368
+ "prediction_dcase2023_task2_baseline_ae": datasets.Value("int64"),
369
+ "prediction_correct_dcase2023_task2_baseline_ae": datasets.Value("int64"),
370
  }
371
  if self.config.embeddings_urls is not None:
372
  features.update({