fix default sf_thresh
This commit is contained in:
@@ -11,7 +11,7 @@ SITE_NAME=""
|
||||
#______________________used for detecting bird audio.__________________________#
|
||||
|
||||
MODEL=BirdNET_6K_GLOBAL_MODEL
|
||||
SF_THRESH=0.5
|
||||
SF_THRESH=0.03
|
||||
|
||||
#--------------------- Required: Latitude, and Longitude ----------------------#
|
||||
|
||||
|
||||
+1
-1
@@ -358,7 +358,7 @@ function sendTestNotification(e) {
|
||||
<span <?php if($config['MODEL'] == "BirdNET_6K_GLOBAL_MODEL") { ?>style="display: none"<?php } ?> id="soft">
|
||||
<label for="sf_thresh">Species Occurence Frequency Threshold [0.0005, 0.99]: </label>
|
||||
<input name="sf_thresh" type="number" max="0.99" min="0.0005" step="0.01" value="<?php print($config['SF_THRESH']);?>"/> <span onclick="document.getElementById('sfhelp').style.display='unset'" style="text-decoration:underline;cursor:pointer">[?]</span><br>
|
||||
<p id="sfhelp" style='display:none'>This value is used by the model to constrain the list of possible species that it will try to detect, given the minimum occurence frequency. A 0.05 threshold means that for a species to be included in this list, it needs to, on average, be seen on at least 5% of historically submitted eBird checklists for your given lat/lon/current week of year. So, the lower the threshold, the rarer the species it will include.<br>If you'd like to tinker with this threshold value and see which species make it onto the list, you can run the following command <?php if($config['MODEL'] == "BirdNET_6K_GLOBAL_MODEL"){ ?>AFTER clicking 'Update Settings' at the very bottom of this page to install the appropriate labels file<?php } ?>: <b>~/BirdNET-Pi/birdnet/bin/python3 ~/BirdNET-Pi/scripts/species.py --threshold 0.05</b></p>
|
||||
<p id="sfhelp" style='display:none'>This value is used by the model to constrain the list of possible species that it will try to detect, given the minimum occurence frequency. A 0.03 threshold means that for a species to be included in this list, it needs to, on average, be seen on at least 3% of historically submitted eBird checklists for your given lat/lon/current week of year. So, the lower the threshold, the rarer the species it will include.<br>If you'd like to tinker with this threshold value and see which species make it onto the list, you can run the following command <?php if($config['MODEL'] == "BirdNET_6K_GLOBAL_MODEL"){ ?>AFTER clicking 'Update Settings' at the very bottom of this page to install the appropriate labels file<?php } ?>: <b>~/BirdNET-Pi/birdnet/bin/python3 ~/BirdNET-Pi/scripts/species.py --threshold 0.03</b></p>
|
||||
</span>
|
||||
|
||||
<dl>
|
||||
|
||||
@@ -32,7 +32,7 @@ LONGITUDE=$(curl -s4 ifconfig.co/json | jq .longitude)
|
||||
#______________________used for detecting bird audio.__________________________#
|
||||
|
||||
MODEL=BirdNET_6K_GLOBAL_MODEL
|
||||
SF_THRESH=0.5
|
||||
SF_THRESH=0.03
|
||||
|
||||
#--------------------- BirdWeather Station Information -----------------------#
|
||||
#_____________The variable below can be set to have your BirdNET-Pi____________#
|
||||
|
||||
@@ -148,7 +148,7 @@ if ! grep MODEL /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||
sudo -u$USER echo "MODEL=BirdNET_6K_GLOBAL_MODEL" >> /etc/birdnet/birdnet.conf
|
||||
fi
|
||||
if ! grep SF_THRESH /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||
sudo -u$USER echo "SF_THRESH=0.5" >> /etc/birdnet/birdnet.conf
|
||||
sudo -u$USER echo "SF_THRESH=0.03" >> /etc/birdnet/birdnet.conf
|
||||
fi
|
||||
sudo chmod +x ~/BirdNET-Pi/scripts/install_language_label_nm.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user