Update gadme.py
Browse files
gadme.py
CHANGED
@@ -424,8 +424,9 @@ class BirdSet(datasets.GeneratorBasedBuilder):
|
|
424 |
"low_freq": row["low_freq"],
|
425 |
"high_freq": row["high_freq"],
|
426 |
"ebird_code": row["ebird_code"] if split != "test_multilabel" else None,
|
427 |
-
"ebird_code_multilabel": row.get("ebird_code_multilabel", None),
|
428 |
-
"
|
|
|
429 |
"call_type": row["call_type"],
|
430 |
"sex": row["sex"],
|
431 |
"lat": row["lat"],
|
|
|
424 |
"low_freq": row["low_freq"],
|
425 |
"high_freq": row["high_freq"],
|
426 |
"ebird_code": row["ebird_code"] if split != "test_multilabel" else None,
|
427 |
+
#"ebird_code_multilabel": row.get("ebird_code_multilabel", None),
|
428 |
+
"ebird_code_multilabel": row.get("ebird_code_multilabel", None) if "no_call" not in row.get("ebird_code_multilabel", []) else [],
|
429 |
+
"ebird_code_secondary": row.get("ebird_code_secondary", None),
|
430 |
"call_type": row["call_type"],
|
431 |
"sex": row["sex"],
|
432 |
"lat": row["lat"],
|