Skip to content

unrecognized arguments: --n_workers #986

Description

@jonatan-ivanov

Describe the bug
According to the docs --n_workers is a valid option of birdnet_analyzer.analyze. According to the command output it isn't.

To Reproduce
Steps to reproduce the behavior:

python3 -m birdnet_analyzer.analyze --n_workers 4 example

Error:

usage: __main__.py [-h] [-o OUTPUT] [--fmin FMIN] [--fmax FMAX] [--lat LAT]
                   [--lon LON] [--week WEEK] [--sf_thresh SF_THRESH]
                   [--slist SLIST] [--sensitivity SENSITIVITY]
                   [--overlap OVERLAP] [--audio_speed AUDIO_SPEED]
                   [-t THREADS] [--min_conf MIN_CONF] [-l LOCALE]
                   [-b BATCH_SIZE]
                   [--rtype {table,audacity,kaleidoscope,csv} [{table,audacity,kaleidoscope,csv} ...]]
                   [--additional_columns {lat,lon,week,overlap,sensitivity,min_conf,species_list,model} [{lat,lon,week,overlap,sensitivity,min_conf,species_list,model} ...]]
                   [--combine_results] [-c CLASSIFIER]
                   [--skip_existing_results] [--top_n TOP_N]
                   [--merge_consecutive MERGE_CONSECUTIVE] [--use_perch]
                   INPUT
__main__.py: error: unrecognized arguments: --n_workers

Expected behavior
Using the specified number of workers.

Screenshots
N/A

Desktop (please complete the following information):
N/A

Additional context
I'm using birdnet_analyzer.analyze through Docker (I build the Docker image of the v2.4.0 tag).
Might be similar to #966, where the docs should be fixed since it should not publicize things that are not available in the latest public release.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions