Spaces:
Running
Running
braedenb
commited on
Commit
•
27f7305
0
Parent(s):
Duplicate from braedenb/birds_c271_test
Browse files- .gitattributes +35 -0
- README.md +14 -0
- app.py +95 -0
- bird_info.csv +281 -0
- class_indices_c271.json +1 -0
- hf_setup.py +23 -0
- models/birds_c271_v2.h5 +3 -0
- requirements.txt +6 -0
- styles.css +29 -0
.gitattributes
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
models/bird_iv3_c8/variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Bird C271 TestSpace
|
3 |
+
emoji: 👁
|
4 |
+
colorFrom: yellow
|
5 |
+
colorTo: pink
|
6 |
+
sdk: streamlit
|
7 |
+
sdk_version: 1.19.0
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
license: cc-by-4.0
|
11 |
+
duplicated_from: braedenb/birds_c271_test
|
12 |
+
---
|
13 |
+
|
14 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from hf_setup import setup
|
2 |
+
|
3 |
+
setup()
|
4 |
+
|
5 |
+
import json
|
6 |
+
import streamlit as st
|
7 |
+
import numpy as np
|
8 |
+
import pandas as pd
|
9 |
+
from PIL import Image
|
10 |
+
from tensorflow.keras.preprocessing.image import img_to_array
|
11 |
+
from tensorflow.keras.models import load_model
|
12 |
+
import tensorflow as tf
|
13 |
+
import os
|
14 |
+
|
15 |
+
# Load the bird info
|
16 |
+
# contains scientific_name, common_name, and wikipedia_link
|
17 |
+
bird_info_df = pd.read_csv("bird_info.csv")
|
18 |
+
|
19 |
+
# Load the saved model
|
20 |
+
# Use a cache so app doesn't have to reload model everytime
|
21 |
+
@st.cache_resource()
|
22 |
+
def load_cached_model(model_path):
|
23 |
+
return load_model(model_path)
|
24 |
+
|
25 |
+
model = load_cached_model('models/birds_c271_v2.h5') # Update the model path as needed
|
26 |
+
|
27 |
+
# Load the class indices
|
28 |
+
# Remake the .json file everytime you replace the model !!!
|
29 |
+
with open('class_indices_c271.json', 'r') as f: # Update the class indices file path as needed
|
30 |
+
class_indices = json.load(f)
|
31 |
+
|
32 |
+
# preprocessing and predicting function
|
33 |
+
def preprocess_and_predict(image):
|
34 |
+
image = image.resize((299, 299))
|
35 |
+
img_array = img_to_array(image)
|
36 |
+
img_array = img_array / 255.0 # Normalize pixel values to [0, 1]
|
37 |
+
img_array = np.expand_dims(img_array, axis=0) # Add batch dimension
|
38 |
+
preds = model.predict(img_array)
|
39 |
+
predicted_index = np.argmax(preds)
|
40 |
+
|
41 |
+
# Convert the predicted index to class name
|
42 |
+
predicted_class = None
|
43 |
+
for class_name, index in class_indices.items():
|
44 |
+
if index == predicted_index:
|
45 |
+
predicted_class = class_name
|
46 |
+
break
|
47 |
+
|
48 |
+
return predicted_class
|
49 |
+
|
50 |
+
# Function for loading in our css file as a string that st.markdown can intake
|
51 |
+
def load_css(file_name: str):
|
52 |
+
with open(file_name, "r") as f:
|
53 |
+
css = f.read()
|
54 |
+
return f"<style>{css}</style>"
|
55 |
+
|
56 |
+
# Load the CSS file which makes the app look pretty
|
57 |
+
css_styles = load_css("styles.css")
|
58 |
+
|
59 |
+
class_names = list(bird_info_df["scientific_name"].values)
|
60 |
+
|
61 |
+
st.title("Bird Watch Challenge")
|
62 |
+
st.write("Upload an image of a bird to classify it!")
|
63 |
+
|
64 |
+
uploaded_file = st.file_uploader("Choose an image of a bird...", type=["jpg", "jpeg", "png"])
|
65 |
+
|
66 |
+
if uploaded_file is not None:
|
67 |
+
image = Image.open(uploaded_file)
|
68 |
+
# st.write("Uploaded image:")
|
69 |
+
st.write("")
|
70 |
+
|
71 |
+
# Create two columns
|
72 |
+
# resize image so it doesn't fill page
|
73 |
+
col1, col2 = st.columns(2)
|
74 |
+
resized_image = image.resize((224, 224))
|
75 |
+
col1.image(resized_image, use_column_width=True)
|
76 |
+
|
77 |
+
# Move the Classify button and results to the right column
|
78 |
+
with col2:
|
79 |
+
st.write("") # Add an empty line to create some space
|
80 |
+
|
81 |
+
# Add custom CSS to style the Streamlit app
|
82 |
+
st.markdown(css_styles, unsafe_allow_html=True)
|
83 |
+
|
84 |
+
if st.button("Classify"):
|
85 |
+
with st.spinner("Classifying..."):
|
86 |
+
prediction = preprocess_and_predict(image)
|
87 |
+
# Display additional information about the bird species
|
88 |
+
bird_info = bird_info_df.loc[bird_info_df["scientific_name"].str.lower() == prediction.lower()].iloc[0]
|
89 |
+
|
90 |
+
# if not bird_info.empty [...] maybe add this in to check if prediction not found in df
|
91 |
+
common_name = bird_info["common_name"]
|
92 |
+
wikipedia_link = bird_info["wikipedia_link"]
|
93 |
+
st.write(f"The predicted species is: **{common_name}**")
|
94 |
+
st.write(f"Scientific name: *{prediction}*")
|
95 |
+
st.write(f"More information: [Wikipedia]({wikipedia_link})")
|
bird_info.csv
ADDED
@@ -0,0 +1,281 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
scientific_name,common_name,wikipedia_link
|
2 |
+
Melanerpes formicivorus,Acorn woodpecker,https://en.wikipedia.org/wiki/Melanerpes_formicivorus
|
3 |
+
Selasphorus sasin,Allen's hummingbird,https://en.wikipedia.org/wiki/Selasphorus_sasin
|
4 |
+
Recurvirostra Americana,Recurvirostra Americana,https://en.wikipedia.org/wiki/Recurvirostra_Americana
|
5 |
+
Botaurus lentiginosus,American bittern,https://en.wikipedia.org/wiki/Botaurus_lentiginosus
|
6 |
+
Fulica americana,American coot,https://en.wikipedia.org/wiki/American_coot
|
7 |
+
Corvus brachyrhynchos,American crow,https://en.wikipedia.org/wiki/Corvus_brachyrhynchos
|
8 |
+
Spinus tristis,American goldfinch,https://en.wikipedia.org/wiki/Spinus_tristis
|
9 |
+
Falco sparverius,American kestrel,https://en.wikipedia.org/wiki/Falco_sparverius
|
10 |
+
Anthus rubescens,Buff-bellied pipit,https://en.wikipedia.org/wiki/Anthus_rubescens
|
11 |
+
Setophaga ruticilla,American redstart,https://en.wikipedia.org/wiki/Setophaga_ruticilla
|
12 |
+
Turdus migratorius,American robin,https://en.wikipedia.org/wiki/Turdus_migratorius
|
13 |
+
Pelecanus erythrorhynchos,American white pelican,https://en.wikipedia.org/wiki/Pelecanus_erythrorhynchos
|
14 |
+
Mareca americana,American wigeon,https://en.wikipedia.org/wiki/Mareca_americana
|
15 |
+
Calypte anna,Anna's hummingbird,https://en.wikipedia.org/wiki/Calypte_anna
|
16 |
+
Myiarchus cinerascens,Ash-throated flycatcher,https://en.wikipedia.org/wiki/Myiarchus_cinerascens
|
17 |
+
Calidris bairdii,Baird's sandpiper,https://en.wikipedia.org/wiki/Calidris_bairdii
|
18 |
+
Haliaeetus leucocephalus,Bald eagle,https://en.wikipedia.org/wiki/Haliaeetus_leucocephalus
|
19 |
+
Icterus galbula,Baltimore oriole,https://en.wikipedia.org/wiki/Icterus_galbula
|
20 |
+
Tyto alba,Barn owl,https://en.wikipedia.org/wiki/Tyto_alba
|
21 |
+
Hirundo rustica,Barn swallow,https://en.wikipedia.org/wiki/Hirundo_rustica
|
22 |
+
Setophaga castanea,Bay-breasted warbler,https://en.wikipedia.org/wiki/Setophaga_castanea
|
23 |
+
Thryomanes bewickii,Bewick's wren,https://en.wikipedia.org/wiki/Thryomanes_bewickii
|
24 |
+
Haematopus bachmani,Black oystercatcher,https://en.wikipedia.org/wiki/Haematopus_bachmani
|
25 |
+
Sayornis nigricans,Black phoebe,https://en.wikipedia.org/wiki/Sayornis_nigricans
|
26 |
+
Cypseloides niger,American black swift,https://en.wikipedia.org/wiki/Cypseloides_niger
|
27 |
+
Chlidonias niger,Black tern,https://en.wikipedia.org/wiki/Chlidonias_niger
|
28 |
+
Arenaria melanocephala,Black turnstone,https://en.wikipedia.org/wiki/Arenaria_melanocephala
|
29 |
+
Mniotilta varia,Black-and-white warbler,https://en.wikipedia.org/wiki/Mniotilta_varia
|
30 |
+
Pluvialis squatarola,Grey plover,https://en.wikipedia.org/wiki/Pluvialis_squatarola
|
31 |
+
Nycticorax nycticorax,Black-crowned night heron,https://en.wikipedia.org/wiki/Nycticorax_nycticorax
|
32 |
+
Pheucticus melanocephalus,Black-headed grosbeak,https://en.wikipedia.org/wiki/Pheucticus_melanocephalus
|
33 |
+
Chroicocephalus ridibundus,Black-headed gull,https://en.wikipedia.org/wiki/Chroicocephalus_ridibundus
|
34 |
+
Rissa tridactyla,Black-legged kittiwake,https://en.wikipedia.org/wiki/Rissa_tridactyla
|
35 |
+
Himantopus mexicanus,Black-necked stilt,https://en.wikipedia.org/wiki/Himantopus_mexicanus
|
36 |
+
Setophaga nigrescens,Black-throated gray warbler,https://en.wikipedia.org/wiki/Setophaga_nigrescens
|
37 |
+
Setophaga striata,Blackpoll warbler,https://en.wikipedia.org/wiki/Setophaga_striata
|
38 |
+
Passerina caerulea,Blue grosbeak,https://en.wikipedia.org/wiki/Passerina_caerulea
|
39 |
+
Polioptila caerulea,Blue-gray gnatcatcher,https://en.wikipedia.org/wiki/Polioptila_caerulea
|
40 |
+
Spatula discors,Blue-winged teal,https://en.wikipedia.org/wiki/Anas_discors
|
41 |
+
Dolichonyx oryzivorus,Bobolink,https://en.wikipedia.org/wiki/Dolichonyx_oryzivorus
|
42 |
+
Chroicocephalus Philadelphia,Bonaparte's gull,https://en.wikipedia.org/wiki/Bonaparte's_gull
|
43 |
+
Branta bernicla,Brant (goose),https://en.wikipedia.org/wiki/Branta_bernicla
|
44 |
+
Euphagus cyanocephalus,Brewer's blackbird,https://en.wikipedia.org/wiki/Euphagus_cyanocephalus
|
45 |
+
Spizella breweri,Brewer's sparrow,https://en.wikipedia.org/wiki/Spizella_breweri
|
46 |
+
Cynanthus latirostris,Broad-billed hummingbird,https://en.wikipedia.org/wiki/Cynanthus_latirostris
|
47 |
+
Certhia americana,Brown creeper,https://en.wikipedia.org/wiki/Certhia_americana
|
48 |
+
Pelecanus occidentalis,Brown pelican,https://en.wikipedia.org/wiki/Pelecanus_occidentalis
|
49 |
+
Toxostoma rufum,Brown thrasher,https://en.wikipedia.org/wiki/Toxostoma_rufum
|
50 |
+
Molothrus ater,Brown-headed cowbird,https://en.wikipedia.org/wiki/Molothrus_ater
|
51 |
+
Bucephala albeola,Bufflehead,https://en.wikipedia.org/wiki/Bucephala_albeola
|
52 |
+
Psaltriparus minimus,American bushtit,https://en.wikipedia.org/wiki/Psaltriparus_minimus
|
53 |
+
Larus californicus,California gull,https://en.wikipedia.org/wiki/Larus_californicus
|
54 |
+
Callipepla californica,California quail,https://en.wikipedia.org/wiki/Callipepla_californica
|
55 |
+
Aphelocoma californica,California scrub jay,https://en.wikipedia.org/wiki/Aphelocoma_californica
|
56 |
+
Toxostoma redivivum,California thrasher,https://en.wikipedia.org/wiki/Toxostoma_redivivum
|
57 |
+
Melozone crissalis,California towhee,https://en.wikipedia.org/wiki/Melozone_crissalis
|
58 |
+
Selasphorus calliope,Calliope hummingbird,https://en.wikipedia.org/wiki/Selasphorus_calliope
|
59 |
+
Branta Canadensis,Branta Canadensis,https://en.wikipedia.org/wiki/Branta_Canadensis
|
60 |
+
Aythya valisineria,Canvasback,https://en.wikipedia.org/wiki/Aythya_valisineria
|
61 |
+
Hydroprogne caspia,Caspian tern,https://en.wikipedia.org/wiki/Hydroprogne_caspia
|
62 |
+
Tyrannus vociferans,Cassin's kingbird,https://en.wikipedia.org/wiki/Tyrannus_vociferans
|
63 |
+
Bubulcus ibis,Western cattle egret,https://en.wikipedia.org/wiki/Bubulcus_ibis
|
64 |
+
Bombycilla cedrorum,Cedar waxwing,https://en.wikipedia.org/wiki/Bombycilla_cedrorum
|
65 |
+
Spizella passerina,Chipping sparrow,https://en.wikipedia.org/wiki/Spizella_passerina
|
66 |
+
Spatula cyanoptera,Cinnamon teal,https://en.wikipedia.org/wiki/Cinnamon_teal
|
67 |
+
Rallus crepitans,Clapper rail,https://en.wikipedia.org/wiki/Rallus_crepitans
|
68 |
+
Aechmophorus clarkii,Clark's grebe,https://en.wikipedia.org/wiki/Aechmophorus_clarkii
|
69 |
+
Spizella pallida,Clay-colored sparrow,https://en.wikipedia.org/wiki/Spizella_pallida
|
70 |
+
Petrochelidon pyrrhonota,Cliff swallow,https://en.wikipedia.org/wiki/Petrochelidon_pyrrhonota
|
71 |
+
Gavia immer,Common loon,https://en.wikipedia.org/wiki/Gavia_immer
|
72 |
+
Gallinula chloropus,Common moorhen,https://en.wikipedia.org/wiki/Gallinula_chloropus
|
73 |
+
Geothlypis trichas,Common yellowthroat,https://en.wikipedia.org/wiki/Geothlypis_trichas
|
74 |
+
Accipiter cooperii,Cooper's hawk,https://en.wikipedia.org/wiki/Accipiter_cooperii
|
75 |
+
Calypte costae,Costa's hummingbird,https://en.wikipedia.org/wiki/Calypte_costae
|
76 |
+
Junco hyemalis,Dark-eyed junco,https://en.wikipedia.org/wiki/Junco_hyemalis
|
77 |
+
Nannopterum auritum,Double-crested cormorant,https://en.wikipedia.org/wiki/Double-crested_cormorant
|
78 |
+
Dryobates pubescens,Downy woodpecker,https://en.wikipedia.org/wiki/Downy_woodpecker
|
79 |
+
Calidris alpina,Dunlin,https://en.wikipedia.org/wiki/Dunlin
|
80 |
+
Podiceps nigricollis,Black-necked grebe,https://en.wikipedia.org/wiki/Podiceps_nigricollis
|
81 |
+
Tyrannus tyrannus,Eastern kingbird,https://en.wikipedia.org/wiki/Tyrannus_tyrannus
|
82 |
+
Thalasseus elegans,Elegant tern,https://en.wikipedia.org/wiki/Thalasseus_elegans
|
83 |
+
Mareca penelope,Eurasian wigeon,https://en.wikipedia.org/wiki/Eurasian_wigeon
|
84 |
+
Sturnus vulgaris,Common starling,https://en.wikipedia.org/wiki/Sturnus_vulgaris
|
85 |
+
Coccothraustes vespertinus,Evening grosbeak,https://en.wikipedia.org/wiki/Coccothraustes_vespertinus
|
86 |
+
Sterna forsteri,Forster's tern,https://en.wikipedia.org/wiki/Sterna_forsteri
|
87 |
+
Passerella iliaca,Fox sparrow,https://en.wikipedia.org/wiki/Passerella_iliaca
|
88 |
+
Dendrocygna bicolor,Fulvous whistling duck,https://en.wikipedia.org/wiki/Dendrocygna_bicolor
|
89 |
+
Anas strepera,Gadwall,https://en.wikipedia.org/wiki/Anas_strepera
|
90 |
+
Larus hyperboreus,Glaucous gull,https://en.wikipedia.org/wiki/Larus_hyperboreus
|
91 |
+
Larus glaucescens,Glaucous-winged gull,https://en.wikipedia.org/wiki/Larus_glaucescens
|
92 |
+
Aquila chrysaetos,Golden eagle,https://en.wikipedia.org/wiki/Aquila_chrysaetos
|
93 |
+
Regulus satrapa,Golden-crowned kinglet,https://en.wikipedia.org/wiki/Regulus_satrapa
|
94 |
+
Zonotrichia atricapilla,Golden-crowned sparrow,https://en.wikipedia.org/wiki/Zonotrichia_atricapilla
|
95 |
+
Ammodramus savannarum,Grasshopper sparrow,https://en.wikipedia.org/wiki/Ammodramus_savannarum
|
96 |
+
Empidonax wrightii,American gray flycatcher,https://en.wikipedia.org/wiki/Empidonax_wrightii
|
97 |
+
Ardea herodias,Great blue heron,https://en.wikipedia.org/wiki/Ardea_herodias
|
98 |
+
Ardea alba,Great egret,https://en.wikipedia.org/wiki/Ardea_alba
|
99 |
+
Bubo virginianus,Great horned owl,https://en.wikipedia.org/wiki/Bubo_virginianus
|
100 |
+
Quiscalus mexicanus,Great-tailed grackle,https://en.wikipedia.org/wiki/Quiscalus_mexicanus
|
101 |
+
Aythya marila,Greater scaup,https://en.wikipedia.org/wiki/Aythya_marila
|
102 |
+
Anser albifrons,Greater white-fronted goose,https://en.wikipedia.org/wiki/Anser_albifrons
|
103 |
+
Tringa melanoleuca,Greater yellowlegs,https://en.wikipedia.org/wiki/Tringa_melanoleuca
|
104 |
+
Butorides virescens,Green heron,https://en.wikipedia.org/wiki/Butorides_virescens
|
105 |
+
Pipilo chlorurus,Green-tailed towhee,https://en.wikipedia.org/wiki/Pipilo_chlorurus
|
106 |
+
Anas carolinensis,Green-winged teal,https://en.wikipedia.org/wiki/Anas_carolinensis
|
107 |
+
Picoides villosus,Hairy woodpecker,https://en.wikipedia.org/wiki/Picoides_villosus
|
108 |
+
Empidonax hammondii,Hammond's flycatcher,https://en.wikipedia.org/wiki/Empidonax_hammondii
|
109 |
+
Zonotrichia querula,Harris's sparrow,https://en.wikipedia.org/wiki/Zonotrichia_querula
|
110 |
+
Larus heermanni,Heermann's gull,https://en.wikipedia.org/wiki/Larus_heermanni
|
111 |
+
Catharus guttatus,Hermit thrush,https://en.wikipedia.org/wiki/Catharus_guttatus
|
112 |
+
Setophaga occidentalis,Hermit warbler,https://en.wikipedia.org/wiki/Setophaga_occidentalis
|
113 |
+
Larus argentatus,European herring gull,https://en.wikipedia.org/wiki/Larus_argentatus
|
114 |
+
Lophodytes cucullatus,Hooded merganser,https://en.wikipedia.org/wiki/Lophodytes_cucullatus
|
115 |
+
Icterus cucullatus,Hooded oriole,https://en.wikipedia.org/wiki/Icterus_cucullatus
|
116 |
+
Setophaga citrina,Hooded warbler,https://en.wikipedia.org/wiki/Setophaga_citrina
|
117 |
+
Podiceps auritus,Horned grebe,https://en.wikipedia.org/wiki/Podiceps_auritus
|
118 |
+
Eremophila alpestris,Horned lark,https://en.wikipedia.org/wiki/Eremophila_alpestris
|
119 |
+
Passer domesticus,House sparrow,https://en.wikipedia.org/wiki/Passer_domesticus
|
120 |
+
Troglodytes aedon,House wren,https://en.wikipedia.org/wiki/Troglodytes_aedon
|
121 |
+
Vireo huttoni,Hutton's vireo,https://en.wikipedia.org/wiki/Vireo_huttoni
|
122 |
+
Passerina cyanea,Indigo bunting,https://en.wikipedia.org/wiki/Passerina_cyanea
|
123 |
+
Charadrius vociferous,Charadrius vociferous,https://en.wikipedia.org/wiki/Charadrius_vociferous
|
124 |
+
Calamospiza melanocorys,Lark bunting,https://en.wikipedia.org/wiki/Calamospiza_melanocorys
|
125 |
+
Chondestes grammacus,Lark sparrow,https://en.wikipedia.org/wiki/Chondestes_grammacus
|
126 |
+
Spinus lawrencei,Lawrence's goldfinch,https://en.wikipedia.org/wiki/Spinus_lawrencei
|
127 |
+
Passerina amoena,Lazuli bunting,https://en.wikipedia.org/wiki/Passerina_amoena
|
128 |
+
Ixobrychus exilis,Least bittern,https://en.wikipedia.org/wiki/Ixobrychus_exilis
|
129 |
+
Empidonax minimus,Least flycatcher,https://en.wikipedia.org/wiki/Empidonax_minimus
|
130 |
+
Calidris minutilla,Least sandpiper,https://en.wikipedia.org/wiki/Calidris_minutilla
|
131 |
+
Sternula antillarum,Least tern,https://en.wikipedia.org/wiki/Sternula_antillarum
|
132 |
+
Spinus psaltria,Lesser goldfinch,https://en.wikipedia.org/wiki/Spinus_psaltria
|
133 |
+
Chordeiles acutipennis,Lesser nighthawk,https://en.wikipedia.org/wiki/Chordeiles_acutipennis
|
134 |
+
Aythya affinis,Lesser scaup,https://en.wikipedia.org/wiki/Aythya_affinis
|
135 |
+
Thinga flavipes,Thinga flavipes,https://en.wikipedia.org/wiki/Thinga_flavipes
|
136 |
+
Melospiza lincolnii,Lincoln's sparrow,https://en.wikipedia.org/wiki/Melospiza_lincolnii
|
137 |
+
Egretta caerulea,Little blue heron,https://en.wikipedia.org/wiki/Egretta_caerulea
|
138 |
+
Hydrocoloeus minutus,Little gull,https://en.wikipedia.org/wiki/Hydrocoloeus_minutus
|
139 |
+
Lanius ludovicianus,Loggerhead shrike,https://en.wikipedia.org/wiki/Lanius_ludovicianus
|
140 |
+
Numenius americanus,Long-billed curlew,https://en.wikipedia.org/wiki/Numenius_americanus
|
141 |
+
Limnodromus scolopaceus,Long-billed dowitcher,https://en.wikipedia.org/wiki/Limnodromus_scolopaceus
|
142 |
+
Asio otus,Long-eared owl,https://en.wikipedia.org/wiki/Asio_otus
|
143 |
+
Clangula hyemalis,Long-tailed duck,https://en.wikipedia.org/wiki/Clangula_hyemalis
|
144 |
+
Oreothlypis luciae,Lucy's warbler,https://en.wikipedia.org/wiki/Oreothlypis_luciae
|
145 |
+
Geothlypis tolmiei,MacGillivray's warbler,https://en.wikipedia.org/wiki/Geothlypis_tolmiei
|
146 |
+
Setophaga magnolia,Magnolia warbler,https://en.wikipedia.org/wiki/Setophaga_magnolia
|
147 |
+
Anas platyrhynchos,Mallard,https://en.wikipedia.org/wiki/Anas_platyrhynchos
|
148 |
+
Limosa fedoa,Marbled godwit,https://en.wikipedia.org/wiki/Limosa_fedoa
|
149 |
+
Cistothorus palustris,Marsh wren,https://en.wikipedia.org/wiki/Cistothorus_palustris
|
150 |
+
Falco columbarius,Merlin (bird),https://en.wikipedia.org/wiki/Falco_columbarius
|
151 |
+
Larus canus,Common gull,https://en.wikipedia.org/wiki/Larus_canus
|
152 |
+
Sialia currucoides,Mountain bluebird,https://en.wikipedia.org/wiki/Sialia_currucoides
|
153 |
+
Charadrius montanus,Mountain plover,https://en.wikipedia.org/wiki/Charadrius_montanus
|
154 |
+
Zenaida macroura,Mourning dove,https://en.wikipedia.org/wiki/Zenaida_macroura
|
155 |
+
Oreothlypis ruficapilla,Nashville warbler,https://en.wikipedia.org/wiki/Oreothlypis_ruficapilla
|
156 |
+
Colaptes auratus,Northern flicker,https://en.wikipedia.org/wiki/Colaptes_auratus
|
157 |
+
Circus cyaneus,Hen harrier,https://en.wikipedia.org/wiki/Circus_cyaneus
|
158 |
+
Mimus polyglottos,Northern mockingbird,https://en.wikipedia.org/wiki/Mimus_polyglottos
|
159 |
+
Setophaga americana,Northern parula,https://en.wikipedia.org/wiki/Setophaga_americana
|
160 |
+
Anas acuta,Northern pintail,https://en.wikipedia.org/wiki/Anas_acuta
|
161 |
+
Stelgidopteryx serripennis,Northern rough-winged swallow,https://en.wikipedia.org/wiki/Stelgidopteryx_serripennis
|
162 |
+
Anas clypeata,Northern shoveler,https://en.wikipedia.org/wiki/Anas_clypeata
|
163 |
+
Contopus cooperi,Olive-sided flycatcher,https://en.wikipedia.org/wiki/Contopus_cooperi
|
164 |
+
Oreothlypis celata,Orange-crowned warbler,https://en.wikipedia.org/wiki/Oreothlypis_celata
|
165 |
+
Icterus spurius,Orchard oriole,https://en.wikipedia.org/wiki/Icterus_spurius
|
166 |
+
Pandion haliaetus,Osprey,https://en.wikipedia.org/wiki/Pandion_haliaetus
|
167 |
+
Gavia pacifica,Pacific loon,https://en.wikipedia.org/wiki/Gavia_pacifica
|
168 |
+
Empidonax difficilis,Pacific-slope flycatcher,https://en.wikipedia.org/wiki/Empidonax_difficilis
|
169 |
+
Passerina ciris,Painted bunting,https://en.wikipedia.org/wiki/Passerina_ciris
|
170 |
+
Setophaga palmarum,Palm warbler,https://en.wikipedia.org/wiki/Setophaga_palmarum
|
171 |
+
Stercorarius parasiticus,Parasitic jaeger,https://en.wikipedia.org/wiki/Stercorarius_parasiticus
|
172 |
+
Calidris melanotos,Pectoral sandpiper,https://en.wikipedia.org/wiki/Calidris_melanotos
|
173 |
+
Falco peregrinus,Peregrine falcon,https://en.wikipedia.org/wiki/Falco_peregrinus
|
174 |
+
Phainopepla nitens,Phainopepla,https://en.wikipedia.org/wiki/Phainopepla_nitens
|
175 |
+
Podilymbus podiceps,Pied-billed grebe,https://en.wikipedia.org/wiki/Podilymbus_podiceps
|
176 |
+
Spinus pinus,Pine siskin,https://en.wikipedia.org/wiki/Spinus_pinus
|
177 |
+
Charadrius melodus,Piping plover,https://en.wikipedia.org/wiki/Charadrius_melodus
|
178 |
+
Falco mexicanus,Prairie falcon,https://en.wikipedia.org/wiki/Falco_mexicanus
|
179 |
+
Haemorhous purpureus,Purple finch,https://en.wikipedia.org/wiki/Haemorhous_purpureus
|
180 |
+
Progne subis,Purple martin,https://en.wikipedia.org/wiki/Progne_subis
|
181 |
+
Loxia curvirostra,Red crossbill,https://en.wikipedia.org/wiki/Loxia_curvirostra
|
182 |
+
Calidris canutus,Red knot,https://en.wikipedia.org/wiki/Calidris_canutus
|
183 |
+
Phalaropus fulicarius,Red phalarope,https://en.wikipedia.org/wiki/Phalaropus_fulicarius
|
184 |
+
Mergus serrator,Red-breasted merganser,https://en.wikipedia.org/wiki/Mergus_serrator
|
185 |
+
Sitta canadensis,Red-breasted nuthatch,https://en.wikipedia.org/wiki/Sitta_canadensis
|
186 |
+
Sphyrapicus ruber,Red-breasted sapsucker,https://en.wikipedia.org/wiki/Sphyrapicus_ruber
|
187 |
+
Vireo olivaceus,Red-eyed vireo,https://en.wikipedia.org/wiki/Vireo_olivaceus
|
188 |
+
Phalaropus lobatus,Red-necked phalarope,https://en.wikipedia.org/wiki/Phalaropus_lobatus
|
189 |
+
Buteo lineatus,Red-shouldered hawk,https://en.wikipedia.org/wiki/Buteo_lineatus
|
190 |
+
Buteo jamaicensis,Red-tailed hawk,https://en.wikipedia.org/wiki/Buteo_jamaicensis
|
191 |
+
Gavia stellata,Red-throated loon,https://en.wikipedia.org/wiki/Gavia_stellata
|
192 |
+
Anthus cervinus,Red-throated pipit,https://en.wikipedia.org/wiki/Anthus_cervinus
|
193 |
+
Agelaius phoeniceus,Red-winged blackbird,https://en.wikipedia.org/wiki/Agelaius_phoeniceus
|
194 |
+
Egretta rufescens,Reddish egret,https://en.wikipedia.org/wiki/Egretta_rufescens
|
195 |
+
Aythya Americana,Aythya Americana,https://en.wikipedia.org/wiki/Aythya_Americana
|
196 |
+
Larus delawarensis,Ring-billed gull,https://en.wikipedia.org/wiki/Larus_delawarensis
|
197 |
+
Aythya collaris,Ring-necked duck,https://en.wikipedia.org/wiki/Aythya_collaris
|
198 |
+
Salpinctes obsoletus,Rock wren,https://en.wikipedia.org/wiki/Salpinctes_obsoletus
|
199 |
+
Pheucticus ludovicianus,Rose-breasted grosbeak,https://en.wikipedia.org/wiki/Pheucticus_ludovicianus
|
200 |
+
Platalea ajaja,Roseate spoonbill,https://en.wikipedia.org/wiki/Platalea_ajaja
|
201 |
+
Buteo lagopus,Rough-legged buzzard,https://en.wikipedia.org/wiki/Buteo_lagopus
|
202 |
+
Thalasseus maximus,Royal tern,https://en.wikipedia.org/wiki/Thalasseus_maximus
|
203 |
+
Regulus calendula,Ruby-crowned kinglet,https://en.wikipedia.org/wiki/Regulus_calendula
|
204 |
+
Oxyura jamaicensis,Ruddy duck,https://en.wikipedia.org/wiki/Oxyura_jamaicensis
|
205 |
+
Arenaria interpres,Ruddy turnstone,https://en.wikipedia.org/wiki/Arenaria_interpres
|
206 |
+
Calidris pugnax,Ruff (bird),https://en.wikipedia.org/wiki/Calidris_pugnax
|
207 |
+
Selasphorus rufus,Rufous hummingbird,https://en.wikipedia.org/wiki/Selasphorus_rufus
|
208 |
+
Calidris alba,Sanderling,https://en.wikipedia.org/wiki/Calidris_alba
|
209 |
+
Passerculus sandwichensis,Savannah sparrow,https://en.wikipedia.org/wiki/Passerculus_sandwichensis
|
210 |
+
Sayornis saya,Say's phoebe,https://en.wikipedia.org/wiki/Sayornis_saya
|
211 |
+
Tyrannus forficatus,Scissor-tailed flycatcher,https://en.wikipedia.org/wiki/Tyrannus_forficatus
|
212 |
+
Charadrius semipalmatus,Semipalmated plover,https://en.wikipedia.org/wiki/Charadrius_semipalmatus
|
213 |
+
Calidris pusilla,Semipalmated sandpiper,https://en.wikipedia.org/wiki/Calidris_pusilla
|
214 |
+
Accipiter striatus,Sharp-shinned hawk,https://en.wikipedia.org/wiki/Accipiter_striatus
|
215 |
+
Limnodromus griseus,Short-billed dowitcher,https://en.wikipedia.org/wiki/Limnodromus_griseus
|
216 |
+
Asio flammeus,Short-eared owl,https://en.wikipedia.org/wiki/Asio_flammeus
|
217 |
+
Chen caerulescens,Snow goose,https://en.wikipedia.org/wiki/Chen_caerulescens
|
218 |
+
Egretta thula,Snowy egret,https://en.wikipedia.org/wiki/Egretta_thula
|
219 |
+
Charadrius nivosus,Snowy plover,https://en.wikipedia.org/wiki/Charadrius_nivosus
|
220 |
+
Tringa solitaria,Solitary sandpiper,https://en.wikipedia.org/wiki/Tringa_solitaria
|
221 |
+
Vireo flavifrons,Yellow-throated vireo,https://en.wikipedia.org/wiki/Vireo_flavifrons
|
222 |
+
Melospiza melodia,Song sparrow,https://en.wikipedia.org/wiki/Melospiza_melodia
|
223 |
+
Porzana Carolina,Porzana Carolina,https://en.wikipedia.org/wiki/Porzana_Carolina
|
224 |
+
Streptopelia chinensis,Spotted dove,https://en.wikipedia.org/wiki/Streptopelia_chinensis
|
225 |
+
Actitis macularius,Spotted sandpiper,https://en.wikipedia.org/wiki/Actitis_macularius
|
226 |
+
Passerina amoena,Lazuli bunting,https://en.wikipedia.org/wiki/Passerina_amoena
|
227 |
+
Calidris himantopus,Stilt sandpiper,https://en.wikipedia.org/wiki/Calidris_himantopus
|
228 |
+
Myiodynastes luteiventris,Sulphur-bellied flycatcher,https://en.wikipedia.org/wiki/Myiodynastes_luteiventris
|
229 |
+
Piranga rubra,Summer tanager,https://en.wikipedia.org/wiki/Piranga_rubra
|
230 |
+
Melanitta perspicillata,Surf scoter,https://en.wikipedia.org/wiki/Melanitta_perspicillata
|
231 |
+
Aphriza virgate,Aphriza virgate,https://en.wikipedia.org/wiki/Aphriza_virgate
|
232 |
+
Catharus ustulatus,Swainson's thrush,https://en.wikipedia.org/wiki/Catharus_ustulatus
|
233 |
+
Melospiza georgiana,Swamp sparrow,https://en.wikipedia.org/wiki/Melospiza_georgiana
|
234 |
+
Oreothlypis peregrina,Tennessee warbler,https://en.wikipedia.org/wiki/Oreothlypis_peregrina
|
235 |
+
Larus thayeri,Thayer's gull,https://en.wikipedia.org/wiki/Larus_thayeri
|
236 |
+
Setophaga townsendi,Townsend's warbler,https://en.wikipedia.org/wiki/Setophaga_townsendi
|
237 |
+
Tachycineta bicolor,Tree swallow,https://en.wikipedia.org/wiki/Tachycineta_bicolor
|
238 |
+
Agelaius tricolor,Tricolored blackbird,https://en.wikipedia.org/wiki/Agelaius_tricolor
|
239 |
+
Egretta tricolor,Tricolored heron,https://en.wikipedia.org/wiki/Egretta_tricolor
|
240 |
+
Calidris virgata,Surfbird,https://en.wikipedia.org/wiki/Calidris_virgata
|
241 |
+
Cygnus columbianus,Tundra swan,https://en.wikipedia.org/wiki/Cygnus_columbianus
|
242 |
+
Cathartes aura,Turkey vulture,https://en.wikipedia.org/wiki/Cathartes_aura
|
243 |
+
Ixoreus naevius,Varied thrush,https://en.wikipedia.org/wiki/Ixoreus_naevius
|
244 |
+
Chaetura vauxi,Vaux's swift,https://en.wikipedia.org/wiki/Chaetura_vauxi
|
245 |
+
Pyrocephalus rubinus,Scarlet flycatcher,https://en.wikipedia.org/wiki/Pyrocephalus_rubinus
|
246 |
+
Pooecetes gramineus,Vesper sparrow,https://en.wikipedia.org/wiki/Pooecetes_gramineus
|
247 |
+
Tachycineta thalassina,Violet-green swallow,https://en.wikipedia.org/wiki/Tachycineta_thalassina
|
248 |
+
Rallus limicola,Virginia rail,https://en.wikipedia.org/wiki/Rallus_limicola
|
249 |
+
Oreothlypis virginiae,Virginia's warbler,https://en.wikipedia.org/wiki/Oreothlypis_virginiae
|
250 |
+
Tringa incana,Wandering tattler,https://en.wikipedia.org/wiki/Tringa_incana
|
251 |
+
Vireo gilvus,Warbling vireo,https://en.wikipedia.org/wiki/Vireo_gilvus
|
252 |
+
Sialia mexicana,Western bluebird,https://en.wikipedia.org/wiki/Sialia_mexicana
|
253 |
+
Aechmophorus occidentalis,Western grebe,https://en.wikipedia.org/wiki/Aechmophorus_occidentalis
|
254 |
+
Larus occidentalis,Western gull,https://en.wikipedia.org/wiki/Larus_occidentalis
|
255 |
+
Tyrannus verticalis,Western kingbird,https://en.wikipedia.org/wiki/Tyrannus_verticalis
|
256 |
+
Sturnella neglecta,Western meadowlark,https://en.wikipedia.org/wiki/Sturnella_neglecta
|
257 |
+
Calidris mauri,Western sandpiper,https://en.wikipedia.org/wiki/Calidris_mauri
|
258 |
+
Piranga ludoviciana,Western tanager,https://en.wikipedia.org/wiki/Piranga_ludoviciana
|
259 |
+
Contopus sordidulus,Western wood pewee,https://en.wikipedia.org/wiki/Contopus_sordidulus
|
260 |
+
Numenius phaeopus,Eurasian whimbrel,https://en.wikipedia.org/wiki/Numenius_phaeopus
|
261 |
+
Sitta carolinensis,White-breasted nuthatch,https://en.wikipedia.org/wiki/Sitta_carolinensis
|
262 |
+
Zonotrichia leucophrys,White-crowned sparrow,https://en.wikipedia.org/wiki/Zonotrichia_leucophrys
|
263 |
+
Plegadis chihi,White-faced ibis,https://en.wikipedia.org/wiki/Plegadis_chihi
|
264 |
+
Elanus leucurus,White-tailed kite,https://en.wikipedia.org/wiki/Elanus_leucurus
|
265 |
+
Zonotrichia albicollis,White-throated sparrow,https://en.wikipedia.org/wiki/Zonotrichia_albicollis
|
266 |
+
Aeronautes saxatalis,White-throated swift,https://en.wikipedia.org/wiki/Aeronautes_saxatalis
|
267 |
+
Zenaida asiatica,White-winged dove,https://en.wikipedia.org/wiki/Zenaida_asiatica
|
268 |
+
Melanitta fusca,Velvet scoter,https://en.wikipedia.org/wiki/Melanitta_fusca
|
269 |
+
Tringa semipalmata,Willet,https://en.wikipedia.org/wiki/Tringa_semipalmata
|
270 |
+
Empidonax traillii,Willow flycatcher,https://en.wikipedia.org/wiki/Empidonax_traillii
|
271 |
+
Phalaropus tricolor,Wilson's phalarope,https://en.wikipedia.org/wiki/Phalaropus_tricolor
|
272 |
+
Cardellina pusilla,Wilson's warbler,https://en.wikipedia.org/wiki/Cardellina_pusilla
|
273 |
+
Troglodytes hiemalis,Winter wren,https://en.wikipedia.org/wiki/Troglodytes_hiemalis
|
274 |
+
Aix sponsa,Wood duck,https://en.wikipedia.org/wiki/Aix_sponsa
|
275 |
+
Mycteria americana,Wood stork,https://en.wikipedia.org/wiki/Mycteria_americana
|
276 |
+
Chamaea fasciata,Wrentit,https://en.wikipedia.org/wiki/Chamaea_fasciata
|
277 |
+
Setophaga petechia,American yellow warbler,https://en.wikipedia.org/wiki/Setophaga_petechia
|
278 |
+
Icteria virens,Yellow-breasted chat,https://en.wikipedia.org/wiki/Icteria_virens
|
279 |
+
Xanthocephalus xanthocephalus,Yellow-headed blackbird,https://en.wikipedia.org/wiki/Xanthocephalus_xanthocephalus
|
280 |
+
Setophaga coronata,Yellow-rumped warbler,https://en.wikipedia.org/wiki/Setophaga_coronata
|
281 |
+
Setophaga dominica,Yellow-throated warbler,https://en.wikipedia.org/wiki/Setophaga_dominica
|
class_indices_c271.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"Accipiter cooperii": 0, "Accipiter striatus": 1, "Actitis macularius": 2, "Aechmophorus clarkii": 3, "Aechmophorus occidentalis": 4, "Aeronautes saxatalis": 5, "Agelaius phoeniceus": 6, "Agelaius tricolor": 7, "Aix sponsa": 8, "Ammodramus savannarum": 9, "Anas acuta": 10, "Anas crecca carolinensis": 11, "Anas platyrhynchos": 12, "Anser albifrons": 13, "Anser caerulescens": 14, "Anthus rubescens": 15, "Aphelocoma californica": 16, "Aquila chrysaetos": 17, "Ardea alba": 18, "Ardea herodias": 19, "Arenaria interpres": 20, "Arenaria melanocephala": 21, "Asio flammeus": 22, "Asio otus": 23, "Aythya affinis": 24, "Aythya americana": 25, "Aythya collaris": 26, "Aythya marila": 27, "Aythya valisineria": 28, "Bombycilla cedrorum": 29, "Botaurus lentiginosus": 30, "Branta bernicla": 31, "Branta canadensis": 32, "Bubo virginianus": 33, "Bubulcus ibis": 34, "Bucephala albeola": 35, "Buteo jamaicensis": 36, "Buteo lagopus": 37, "Buteo lineatus": 38, "Butorides virescens": 39, "Calamospiza melanocorys": 40, "Calidris alba": 41, "Calidris alpina": 42, "Calidris bairdii": 43, "Calidris canutus": 44, "Calidris himantopus": 45, "Calidris mauri": 46, "Calidris melanotos": 47, "Calidris minutilla": 48, "Calidris pugnax": 49, "Calidris pusilla": 50, "Calidris virgata": 51, "Callipepla californica": 52, "Calypte anna": 53, "Calypte costae": 54, "Cardellina pusilla": 55, "Cathartes aura": 56, "Catharus guttatus": 57, "Catharus ustulatus": 58, "Certhia americana": 59, "Chamaea fasciata": 60, "Charadrius melodus": 61, "Charadrius nivosus": 62, "Charadrius semipalmatus": 63, "Charadrius vociferus": 64, "Chlidonias niger": 65, "Chondestes grammacus": 66, "Chordeiles acutipennis": 67, "Chroicocephalus philadelphia": 68, "Chroicocephalus ridibundus": 69, "Circus cyaneus": 70, "Cistothorus palustris": 71, "Clangula hyemalis": 72, "Coccothraustes vespertinus": 73, "Colaptes auratus": 74, "Contopus cooperi": 75, "Contopus sordidulus": 76, "Corthylio calendula": 77, "Corvus brachyrhynchos": 78, "Cygnus columbianus": 79, "Cynanthus latirostris": 80, "Dendrocygna bicolor": 81, "Dolichonyx oryzivorus": 82, "Dryobates pubescens": 83, "Dryobates villosus": 84, "Egretta caerulea": 85, "Egretta rufescens": 86, "Egretta thula": 87, "Egretta tricolor": 88, "Elanus leucurus": 89, "Empidonax difficilis": 90, "Empidonax hammondii": 91, "Empidonax minimus": 92, "Empidonax traillii": 93, "Empidonax wrightii": 94, "Eremophila alpestris": 95, "Euphagus cyanocephalus": 96, "Falco columbarius": 97, "Falco mexicanus": 98, "Falco peregrinus": 99, "Falco sparverius": 100, "Fulica americana": 101, "Gallinula chloropus": 102, "Gavia immer": 103, "Gavia pacifica": 104, "Gavia stellata": 105, "Geothlypis tolmiei": 106, "Geothlypis trichas": 107, "Haematopus bachmani": 108, "Haemorhous purpureus": 109, "Haliaeetus leucocephalus": 110, "Himantopus mexicanus": 111, "Hirundo rustica": 112, "Hydrocoloeus minutus": 113, "Hydroprogne caspia": 114, "Icteria virens": 115, "Icterus cucullatus": 116, "Icterus galbula": 117, "Icterus spurius": 118, "Ixobrychus exilis": 119, "Ixoreus naevius": 120, "Junco hyemalis": 121, "Lanius ludovicianus": 122, "Larus argentatus": 123, "Larus californicus": 124, "Larus canus": 125, "Larus delawarensis": 126, "Larus glaucescens": 127, "Larus glaucoides": 128, "Larus heermanni": 129, "Larus hyperboreus": 130, "Leiothlypis celata": 131, "Leiothlypis luciae": 132, "Leiothlypis peregrina": 133, "Leiothlypis ruficapilla": 134, "Limnodromus griseus": 135, "Limnodromus scolopaceus": 136, "Limosa fedoa": 137, "Lophodytes cucullatus": 138, "Loxia curvirostra": 139, "Mareca americana": 140, "Mareca penelope": 141, "Mareca strepera": 142, "Melanerpes formicivorus": 143, "Melanitta perspicillata": 144, "Melospiza georgiana": 145, "Melospiza lincolnii": 146, "Melospiza melodia": 147, "Melozone crissalis": 148, "Mergus serrator": 149, "Mimus polyglottos": 150, "Mniotilta varia": 151, "Molothrus ater": 152, "Mycteria americana": 153, "Myiarchus cinerascens": 154, "Myiodynastes luteiventris": 155, "Nannopterum auritum": 156, "Numenius americanus": 157, "Numenius phaeopus": 158, "Nycticorax nycticorax": 159, "Oxyura jamaicensis": 160, "Pandion haliaetus": 161, "Passer domesticus": 162, "Passerculus sandwichensis": 163, "Passerella iliaca": 164, "Passerina amoena": 165, "Passerina caerulea": 166, "Passerina ciris": 167, "Passerina cyanea": 168, "Pelecanus erythrorhynchos": 169, "Pelecanus occidentalis": 170, "Petrochelidon pyrrhonota": 171, "Phainopepla nitens": 172, "Phalaropus fulicarius": 173, "Phalaropus lobatus": 174, "Phalaropus tricolor": 175, "Pheucticus ludovicianus": 176, "Pheucticus melanocephalus": 177, "Pipilo chlorurus": 178, "Piranga ludoviciana": 179, "Piranga rubra": 180, "Platalea ajaja": 181, "Plegadis chihi": 182, "Pluvialis squatarola": 183, "Podiceps auritus": 184, "Podiceps nigricollis": 185, "Podilymbus podiceps": 186, "Polioptila caerulea": 187, "Pooecetes gramineus": 188, "Porzana carolina": 189, "Progne subis": 190, "Psaltriparus minimus": 191, "Pyrocephalus rubinus": 192, "Quiscalus mexicanus": 193, "Rallus crepitans": 194, "Rallus limicola": 195, "Recurvirostra americana": 196, "Regulus satrapa": 197, "Rissa tridactyla": 198, "Salpinctes obsoletus": 199, "Sayornis nigricans": 200, "Sayornis saya": 201, "Selasphorus calliope": 202, "Selasphorus rufus": 203, "Selasphorus sasin": 204, "Setophaga americana": 205, "Setophaga castanea": 206, "Setophaga citrina": 207, "Setophaga coronata": 208, "Setophaga dominica": 209, "Setophaga magnolia": 210, "Setophaga nigrescens": 211, "Setophaga occidentalis": 212, "Setophaga palmarum": 213, "Setophaga petechia": 214, "Setophaga ruticilla": 215, "Setophaga striata": 216, "Setophaga townsendi": 217, "Sialia currucoides": 218, "Sialia mexicana": 219, "Sitta canadensis": 220, "Sitta carolinensis": 221, "Spatula clypeata": 222, "Spatula cyanoptera": 223, "Spatula discors": 224, "Sphyrapicus ruber": 225, "Spilopelia chinensis": 226, "Spinus lawrencei": 227, "Spinus pinus": 228, "Spinus psaltria": 229, "Spinus tristis": 230, "Spizella breweri": 231, "Spizella pallida": 232, "Spizella passerina": 233, "Stelgidopteryx serripennis": 234, "Stercorarius parasiticus": 235, "Sterna forsteri": 236, "Sternula antillarum": 237, "Sturnella neglecta": 238, "Sturnus vulgaris": 239, "Tachycineta bicolor": 240, "Tachycineta thalassina": 241, "Thalasseus elegans": 242, "Thalasseus maximus": 243, "Thryomanes bewickii": 244, "Toxostoma redivivum": 245, "Toxostoma rufum": 246, "Tringa flavipes": 247, "Tringa incana": 248, "Tringa melanoleuca": 249, "Tringa semipalmata": 250, "Tringa solitaria": 251, "Troglodytes aedon": 252, "Troglodytes hiemalis": 253, "Turdus migratorius": 254, "Tyrannus forficatus": 255, "Tyrannus tyrannus": 256, "Tyrannus verticalis": 257, "Tyrannus vociferans": 258, "Tyto alba": 259, "Vireo flavifrons": 260, "Vireo gilvus": 261, "Vireo huttoni": 262, "Vireo olivaceus": 263, "Xanthocephalus xanthocephalus": 264, "Zenaida asiatica": 265, "Zenaida macroura": 266, "Zonotrichia albicollis": 267, "Zonotrichia atricapilla": 268, "Zonotrichia leucophrys": 269, "Zonotrichia querula": 270}
|
hf_setup.py
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from huggingface_hub import HfApi, HfFolder
|
2 |
+
import os
|
3 |
+
|
4 |
+
def download_file(path, url):
|
5 |
+
api = HfApi()
|
6 |
+
folder = HfFolder()
|
7 |
+
|
8 |
+
token = folder.get_token()
|
9 |
+
api.download_file(url, path, token)
|
10 |
+
|
11 |
+
def setup():
|
12 |
+
if not os.path.exists("bird_info.csv"):
|
13 |
+
download_file("bird_info.csv", "https://huggingface.co/spaces/braedenb/demo_space/raw/main/bird_info.csv")
|
14 |
+
|
15 |
+
if not os.path.exists("class_indices_c271.json"):
|
16 |
+
download_file("class_indices_c271.json", "https://huggingface.co/spaces/braedenb/demo_space/raw/main/class_indices_c271.json")
|
17 |
+
|
18 |
+
if not os.path.exists("styles.css"):
|
19 |
+
download_file("styles.css", "https://huggingface.co/spaces/braedenb/demo_space/raw/main/styles.css")
|
20 |
+
|
21 |
+
if not os.path.exists("models/birds_c271_v2.h5"):
|
22 |
+
os.makedirs("models", exist_ok=True)
|
23 |
+
download_file("models/birds_c271_v2.h5", "https://huggingface.co/spaces/braedenb/demo_space/raw/main/models/birds_c271_v2.h5")
|
models/birds_c271_v2.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b92a84266b1fbec8cd6b2483c1a69d8f36788e30e2a844d7c32d9855669fd2cf
|
3 |
+
size 278980840
|
requirements.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
streamlit
|
2 |
+
pandas
|
3 |
+
tensorflow
|
4 |
+
pillow
|
5 |
+
numpy
|
6 |
+
altair==4.1.0
|
styles.css
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* styles.css */
|
2 |
+
.stButton>button {
|
3 |
+
background-color: #003660;
|
4 |
+
color: white;
|
5 |
+
padding: 10px 20px;
|
6 |
+
border: none;
|
7 |
+
cursor: pointer;
|
8 |
+
|
9 |
+
width: 70%; /* Set the button width to take the full column width */
|
10 |
+
font-size: 20px; /* Increase the font size */
|
11 |
+
padding: 12px 24px; /* Increase the padding for a larger button */
|
12 |
+
margin-left: auto;
|
13 |
+
margin-right: auto;
|
14 |
+
}
|
15 |
+
|
16 |
+
.stButton>button:hover {
|
17 |
+
/* background-color: #FEBC11; */
|
18 |
+
color: #FEBC11; /* Change the text color on hover */
|
19 |
+
box-shadow: 0 0 5px 1px #FEBC11; /* Change the halo color on hover */
|
20 |
+
}
|
21 |
+
|
22 |
+
.stButton>button:active {
|
23 |
+
color: #FEBC11 !important; /* Set the text color when the button is clicked */
|
24 |
+
box-shadow: 0 0 5px 1px #FEBC11 !important; /* Change the halo color on click */
|
25 |
+
}
|
26 |
+
|
27 |
+
|
28 |
+
|
29 |
+
|