Dr. Richard Zinck commited on
Commit
25110fa
1 Parent(s): 0c19be6
bat_gui.py CHANGED
@@ -120,8 +120,8 @@ def runAnalysis(
120
  cfg.BAT_CLASSIFIER_LOCATION = os.path.join(script_dir, cfg.BAT_CLASSIFIER_LOCATION)
121
 
122
  if species_list_choice == "Bavaria":
123
- cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-Bavaria-144kHz.tflite"
124
- cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-Bavaria-144kHz_Labels.txt"
125
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
126
  cfg.LATITUDE = -1
127
  cfg.LONGITUDE = -1
@@ -130,8 +130,8 @@ def runAnalysis(
130
  locale = "de"
131
 
132
  elif species_list_choice == "EU":
133
- cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-EU-144kHz-2.tflite"
134
- cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-EU-144kHz-2_Labels.txt"
135
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
136
  cfg.LATITUDE = -1
137
  cfg.LONGITUDE = -1
@@ -140,8 +140,8 @@ def runAnalysis(
140
  locale = "en"
141
 
142
  elif species_list_choice == "Scotland":
143
- cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-Scotland-144kHz.tflite"
144
- cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-Scotland-144kHz_Labels.txt"
145
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
146
  cfg.LATITUDE = -1
147
  cfg.LONGITUDE = -1
@@ -150,8 +150,8 @@ def runAnalysis(
150
  locale = "en"
151
 
152
  elif species_list_choice == "UK":
153
- cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-UK-144kHz.tflite"
154
- cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-UK-144kHz_Labels.txt"
155
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
156
  cfg.LATITUDE = -1
157
  cfg.LONGITUDE = -1
@@ -160,8 +160,8 @@ def runAnalysis(
160
  locale = "en"
161
 
162
  elif species_list_choice == "USA":
163
- cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-USA-144kHz.tflite"
164
- cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-USA-144kHz_Labels.txt"
165
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
166
  cfg.LATITUDE = -1
167
  cfg.LONGITUDE = -1
@@ -170,8 +170,8 @@ def runAnalysis(
170
  locale = "en"
171
 
172
  else:
173
- cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-EU-144kHz-2.tflite"
174
- cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-EU-144kHz-2_Labels.txt"
175
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
176
  cfg.LATITUDE = -1
177
  cfg.LONGITUDE = -1
 
120
  cfg.BAT_CLASSIFIER_LOCATION = os.path.join(script_dir, cfg.BAT_CLASSIFIER_LOCATION)
121
 
122
  if species_list_choice == "Bavaria":
123
+ cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-Bavaria-256kHz.tflite"
124
+ cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-Bavaria-256kHz_Labels.txt"
125
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
126
  cfg.LATITUDE = -1
127
  cfg.LONGITUDE = -1
 
130
  locale = "de"
131
 
132
  elif species_list_choice == "EU":
133
+ cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-EU-256kHz.tflite"
134
+ cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-EU-256kHz_Labels.txt"
135
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
136
  cfg.LATITUDE = -1
137
  cfg.LONGITUDE = -1
 
140
  locale = "en"
141
 
142
  elif species_list_choice == "Scotland":
143
+ cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-Scotland-256kHz.tflite"
144
+ cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-Scotland-256kHz_Labels.txt"
145
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
146
  cfg.LATITUDE = -1
147
  cfg.LONGITUDE = -1
 
150
  locale = "en"
151
 
152
  elif species_list_choice == "UK":
153
+ cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-UK-256kHz.tflite"
154
+ cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-UK-256kHz_Labels.txt"
155
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
156
  cfg.LATITUDE = -1
157
  cfg.LONGITUDE = -1
 
160
  locale = "en"
161
 
162
  elif species_list_choice == "USA":
163
+ cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-USA-256kHz.tflite"
164
+ cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-USA-256kHz_Labels.txt"
165
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
166
  cfg.LATITUDE = -1
167
  cfg.LONGITUDE = -1
 
170
  locale = "en"
171
 
172
  else:
173
+ cfg.CUSTOM_CLASSIFIER = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-EU-256kHz-2.tflite"
174
+ cfg.LABELS_FILE = cfg.BAT_CLASSIFIER_LOCATION + "/BattyBirdNET-EU-256kHz-2_Labels.txt"
175
  cfg.LABELS = utils.readLines(cfg.LABELS_FILE)
176
  cfg.LATITUDE = -1
177
  cfg.LONGITUDE = -1
checkpoints/bats/v1.0/BattyBirdNET-EU-256kHz.tflite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb068eec289541bbc2dbb8c4f2c3c003f11a7905c03382493fb675c2e3ec7957
3
+ size 124064
checkpoints/bats/v1.0/BattyBirdNET-EU-256kHz_Labels.txt ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Barbastella barbastellus_Western barbastelle
2
+ Eptesicus nilssonii_Northern bat
3
+ Eptesicus serotinus_Serotine bat
4
+ Hypsugo savii_Savis pipistrelle
5
+ Miniopterus schreibersii_Common bent-wing bat
6
+ Myotis alcathoe_Alcathoe bat
7
+ Myotis bechsteinii_Bechsteins bat
8
+ Myotis brandtii_Brandt bat
9
+ Myotis capaccinii_Long-fingered bat
10
+ Myotis dasycneme_Pond bat
11
+ Myotis daubentonii_Daubentons bat
12
+ Myotis emarginatus_Geoffroys bat
13
+ Myotis myotis_Greater mouse-eared bat
14
+ Myotis mystacinus_Whiskered bat
15
+ Myotis nattereri_Natterers bat
16
+ NOISE
17
+ Nyctalus lasiopterus_Greater noctule bat
18
+ Nyctalus leisleri_Lesser noctule
19
+ Nyctalus noctula_Common noctule
20
+ Pipistrellus kuhlii_Kuhls pipistrelle
21
+ Pipistrellus maderensis_Madeira pipistrelle
22
+ Pipistrellus nathusii_Nathusius pipistrelle
23
+ Pipistrellus pipistrellus_Common pipistrelle
24
+ Pipistrellus pygmaeus_Soprano pipistrelle
25
+ Plecotus spec._Long eared bat
26
+ Rhinolophus blasii_Blasius horseshoe bat
27
+ Rhinolophus ferrumequinum_Greater horseshoe bat
28
+ Rhinolophus hipposideros_Lesser horseshoe bat
29
+ Tadarida teniotis_European free-tailed bat
30
+ Vespertilio murinus_Parti-coloured bat
checkpoints/bats/v1.0/BattyBirdNET-USA-256kHz.tflite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4ce76a7556e5958257a59b2c9a51fcb7358b6ed3faea29e6b9ddb8e3b5eb2b4
3
+ size 144564
checkpoints/bats/v1.0/BattyBirdNET-USA-256kHz_Labels.txt ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Antrozous pallidus_Pallid bat
2
+ Corynorhinus rafinesquii_Rafinesque's big-eared bat
3
+ Corynorhinus townsendii_Townsend's big-eared bat
4
+ Eptesicus fuscus_Big brown bat
5
+ Euderma maculatum_Spotted bat
6
+ Eumops floridanus_Florida bonneted
7
+ Eumops perotis_Greater mastiff bat
8
+ Idionycteris phyllotis_Allen's big-eared bat
9
+ Lasionycteris noctivagans_Silver-haired bat
10
+ Lasiurus blossevillii_Western red bat
11
+ Lasiurus borealis_Eastern red bat
12
+ Lasiurus cinereus_Hoary bat
13
+ Lasiurus intermedius_Northern yellow bat
14
+ Lasiurus seminolus_Seminole bat
15
+ Lasiurus xanthinus_Western yellow bat
16
+ Myotis austroriparius_Southeastern myotis
17
+ Myotis californicus_California bat
18
+ Myotis ciliolabrum_Western small-footed myotis
19
+ Myotis evotis_Western long-eared bat
20
+ Myotis grisescens_Gray bat
21
+ Myotis leibii_Eastern small-footed bat
22
+ Myotis lucifugus_Little brown bat
23
+ Myotis septentrionalis_Northern long-eared bat
24
+ Myotis sodalis_Indiana bat
25
+ Myotis thysanodes_Fringed bat
26
+ Myotis velifer_Cave bat
27
+ Myotis volans_Long-legged bat
28
+ Myotis yumanensis_Yuma bat
29
+ NOISE
30
+ Nycticeius humeralis_Evening bat
31
+ Nyctinomops femorosaccus_Pocketed free-tailed bat
32
+ Nyctinomops macrotis_Big free-tailed bat
33
+ Parastrellus hesperus_Canyon bat
34
+ Perimyotis subflavus_Tricolored bat
35
+ Tadarida brasiliensis_Brazilian free-tailed bat