TypeError: train() got an unexpected keyword argument 'focal_loss' #681
Replies: 1 comment
-
Thanks for getting back to us, the issue should be fixed now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello and thanks in advance for any help!
I have installed the latest version of BirdNET-Analyser (08/05/2025) and I am just trying to execute a simple standard training command as shown in the documentation with the recommended dataset for checking the installation, but I keep getting this error at the very beginning of the script launch:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/eric/BirdNET/BirdNET-Analyzer/birdnet_analyzer/train/main.py", line 3, in
main()
File "/home/eric/BirdNET/BirdNET-Analyzer/birdnet_analyzer/utils.py", line 27, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/home/eric/BirdNET/BirdNET-Analyzer/birdnet_analyzer/train/cli.py", line 13, in main
train(**vars(args))
TypeError: train() got an unexpected keyword argument 'focal_loss'
Thanks very much for any help!
Beta Was this translation helpful? Give feedback.
All reactions