BirdNET-Lite
BirdNET-Lite copied to clipboard
Model provided has invalid model identifier
I tried to run your model on an Ubuntu 20.04 machine. However, following your readme leads to this error:
$ python analyze.py --i a5_20190712_050100_moench.WAV --lat 49.516859 --lon 9.787153
LOADING TF LITE MODEL... Traceback (most recent call last):
File "analyze.py", line 224, in <module>
main()
File "analyze.py", line 201, in main
interpreter = loadModel()
File "analyze.py", line 28, in loadModel
interpreter = tflite.Interpreter(model_path='model/BirdNET_6K_GLOBAL_MODEL.tflite')
File "/home/mfb/.local/lib/python3.8/site-packages/tensorflow/lite/python/interpreter.py", line 463, in __init__
_interpreter_wrapper.CreateWrapperFromFile(
ValueError: Model provided has model identifier '
<!', should be 'TFL3'
I have installed TF 2.7.0 via pip.
Note: Using tflite-runtime 2.7.0 leads to the very same error message.
Any ideas what could be the problem here?