Usage#

flyswot#

flyswot [OPTIONS] COMMAND [ARGS]...

Options

--install-completion <install_completion>#

Install completion for the specified shell.

Options:

bash | zsh | fish | powershell | pwsh

--show-completion <show_completion>#

Show completion for the specified shell, to copy it or customize the installation.

Options:

bash | zsh | fish | powershell | pwsh

model#

flyswot commands for interacting with models

flyswot model [OPTIONS] COMMAND [ARGS]...

download#

Downloads models, defaults to the latest available model

flyswot model download [OPTIONS] [REVISION] [MODEL_DIR]

Options

--local-only <local_only>#
Default:

False

Arguments

REVISION#

Optional argument

MODEL_DIR#

Optional argument

Environment variables

MODEL_DIR

Provide a default for MODEL_DIR

show-model-dir#

Print out the directory where models are stored

flyswot model show-model-dir [OPTIONS]

vocab#

Prints out vocab for latest model

flyswot model vocab [OPTIONS] [MODEL]

Options

--show, --no-show#
Default:

True

Arguments

MODEL#

Optional argument

predict#

flyswot commands for making predictions

flyswot predict [OPTIONS] COMMAND [ARGS]...

directory#

Predicts against all images stored under DIRECTORY which match PATTERN in the filename.

By default searches for filenames containing ‘fs’.

Creates a CSV report saved to csv_save_dir

flyswot predict directory [OPTIONS] DIRECTORY CSV_SAVE_DIR

Options

--model-id <model_id>#

The model flyswot should use for making predictions

Default:

flyswot/convnext-tiny-224_flyswot

--pattern <pattern>#

Pattern used to filter image filenames

--bs <bs>#

Batch Size

Default:

16

--image-formats <image_formats>#

Image format(s) to check

Default:

.tif

Arguments

DIRECTORY#

Required argument

CSV_SAVE_DIR#

Required argument

predict-image#

Predict a single image

flyswot predict predict-image [OPTIONS] IMAGE

Arguments

IMAGE#

Required argument