shared_fsdb
Shared FSDB Setup CLILink
A command‑line utility for setting up a local plantdb database (FSDB) by cloning shared datasets. It is useful for users who need to work with specific test datasets without downloading them individually.
Key FeaturesLink
- Simple CLI interface using
clickwith positional arguments for the target path. - Dataset selection: Supports cloning of multiple datasets, including all available ones or a specified subset.
- Optional data cloning: Clone configuration files and trained CNN model files.
- Force download option: Refresh the archive regardless of existing data.
- Configurable logging: choose from predefined log levels to control output verbosity.
Usage ExamplesLink
To create a local database with the default 'real_plant' dataset at /path/to/db:
shared_fsdb /path/to/db
To clone all available datasets along with configuration files to /path/to/db:
shared_fsdb --dataset all --config /path/to/db
main
Link
main(path, dataset, config, models, force, log_level)
Shared FSDB Setup CLI
A command‑line utility for setting up a local plantdb database (FSDB) by cloning shared datasets.
PATH is the path to the test database to set up.
Source code in plantdb/commons/cli/shared_fsdb.py
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |