Skip to content

Commit

Permalink
Remove unused class lists.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 550602481
  • Loading branch information
Bart van Merriënboer authored and copybara-github committed Jul 24, 2023
1 parent ae6721e commit 6cdaac3
Show file tree
Hide file tree
Showing 3 changed files with 307,545 additions and 409,387 deletions.
10 changes: 7 additions & 3 deletions chirp/data/bird_taxonomy/bird_taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,17 @@ class BirdTaxonomy(tfds.core.GeneratorBasedBuilder):
'chirp.audio_utils.slice_peaked_audio.'
),
data_processing_query=fsu.QuerySequence([
fsu.filter_in_class_list('species_code', 'global_seabirds'),
fsu.filter_in_class_list(
'species_code', 'ebird2021_global_seabirds'
),
fsu.scrub_all_but_class_list(
'bg_species_codes', 'global_seabirds'
'bg_species_codes', 'ebird2021_global_seabirds'
),
]),
metadata_processing_query=fsu.QuerySequence([
fsu.filter_in_class_list('species_code', 'global_seabirds'),
fsu.filter_in_class_list(
'species_code', 'ebird2021_global_seabirds'
),
]),
),
]
Expand Down
Loading

0 comments on commit 6cdaac3

Please sign in to comment.