class documentation
Tools for creating FiftyOne datasets.
Examples:
# Create a dataset from the given data on disk fiftyone datasets create \ --name <name> --dataset-dir <dataset-dir> --type <type> # Create a dataset from a random subset of the data on disk fiftyone datasets create \ --name <name> --dataset-dir <dataset-dir> --type <type> \ --kwargs max_samples=50 shuffle=True # Create a dataset from the given samples JSON file fiftyone datasets create --json-path <json-path>
Static Method | execute |
Executes the command on the given args. |
Static Method | setup |
Setup the command-line arguments for the command. |
overrides
fiftyone.core.cli.Command.execute
Executes the command on the given args.
Parameters | |
parser | the argparse.ArgumentParser instance for the command |
args | an argparse.Namespace instance containing the arguments
for the command |
overrides
fiftyone.core.cli.Command.setup
Setup the command-line arguments for the command.
Parameters | |
parser | an argparse.ArgumentParser instance |