Update gadme.py
Browse files
gadme.py
CHANGED
@@ -77,6 +77,7 @@ class BirdSetConfig(datasets.BuilderConfig):
|
|
77 |
"local_time": datasets.Value("string"),
|
78 |
"detected_events": datasets.Sequence(datasets.Sequence(datasets.Value("float64"))),
|
79 |
"event_cluster": datasets.Sequence(datasets.Value("int64")),
|
|
|
80 |
"quality": datasets.Value("string"),
|
81 |
"recordist": datasets.Value("string"),
|
82 |
})
|
@@ -435,6 +436,7 @@ class BirdSet(datasets.GeneratorBasedBuilder):
|
|
435 |
"local_time": row["local_time"],
|
436 |
"detected_events": row.get("detected_events", None),
|
437 |
"event_cluster": row.get("event_cluster", None),
|
|
|
438 |
"quality": row.get("quality", None),
|
439 |
"recordist": row.get("recordist", None)
|
440 |
}
|
|
|
77 |
"local_time": datasets.Value("string"),
|
78 |
"detected_events": datasets.Sequence(datasets.Sequence(datasets.Value("float64"))),
|
79 |
"event_cluster": datasets.Sequence(datasets.Value("int64")),
|
80 |
+
"peaks": datasets.Sequence(datasets.Value("float64")),
|
81 |
"quality": datasets.Value("string"),
|
82 |
"recordist": datasets.Value("string"),
|
83 |
})
|
|
|
436 |
"local_time": row["local_time"],
|
437 |
"detected_events": row.get("detected_events", None),
|
438 |
"event_cluster": row.get("event_cluster", None),
|
439 |
+
"peaks": row.get("peaks", None),
|
440 |
"quality": row.get("quality", None),
|
441 |
"recordist": row.get("recordist", None)
|
442 |
}
|