Skip to content

shared_fsdb

plantdb.commons.cli.shared_fsdb Link

Create a local plantdb database (FSDB) using shared datasets.

This module provides a command-line interface for setting up a local plantdb database by cloning shared datasets. It is useful for users who need to work with specific test datasets without downloading them individually.

Key Features
  • Supports cloning of multiple datasets, including all available ones or a specified subset.
  • Optional flags to clone configuration files and trained CNN model files.
  • Force download option to refresh the archive regardless of existing data.
  • Configurable logging levels for tracking setup progress and debugging.
Usage

To create a local database with the default 'real_plant' dataset at /path/to/db:

.. code-block:: bash $ shared_fsdb /path/to/db

To clone all available datasets along with configuration files to /path/to/db:

.. code-block:: bash $ shared_fsdb --dataset all --config /path/to/db