mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update model and labels directory names
This commit is contained in:
@@ -43,6 +43,12 @@ fi
|
||||
##################
|
||||
|
||||
# Use tphakala model v2 if enabled
|
||||
if [[ -f "$HOME/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_V2_FP16.tflite2" ]]; then
|
||||
mv "$HOME/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_V2_FP16.tflite2" "$HOME/BirdNET-Pi/model/BirdNET_GLOBAL_6K_V2.4_MData_Model_V2_FP16.tflite"
|
||||
fi
|
||||
if [[ -d "$HOME/BirdNET-Pi/model/labels_nm2" ]]; then
|
||||
mv "$HOME/BirdNET-Pi/model/labels_nm2" "$HOME/BirdNET-Pi/model/labels_nm"
|
||||
fi
|
||||
if bashio::config.true 'Use_tphakala_model_v2'; then
|
||||
echo "... applying tphakala model v2"
|
||||
if [[ -f "$HOME/BirdNET-Pi/model/BirdNET-Go_classifier.tflite" ]] && [[ -d "$HOME/BirdNET-Pi/model/labels_go" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user