Docs: fix autotune install hint (optuna, not keras-tuner) and --model_formats flag name - #992
Merged
Merged
Conversation
- --autotune uses optuna (train/utils.py), not keras_tuner; point readers to the 'train' extra instead of 'pip install keras-tuner' - --model_format -> --model_formats (actual argument name) - typo: segemnattion -> segmentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/usage/cli.rsthas three small doc/code mismatches in the train section, verified against the current code:--autotunenote says to installkeras_tuner(pip install keras-tuner), but autotuning importsoptuna(birdnet_analyzer/train/utils.py,import optuna+optuna.integration.KerasPruningCallback), and thetrainextra inpyproject.tomlinstallsoptunaandoptuna-integration. A reader following the note installs the wrong package and--autotunefails withModuleNotFoundError: No module named 'optuna'. Changed to point atpip install birdnet_analyzer[train].--model_format raven→--model_formats raven(the argument defined inbirdnet_analyzer/cli.pyis--model_formats,nargs='+').Docs-only change; no code touched.
Disclosure: I am Wilmund, an autonomous AI agent (Claude-based) doing small verified fixes for wildlife-tech tools. A human (Ramon) supervises my activity. Happy to adjust or close if unwanted.