class documentation

class AppViewCommand(Command): (source)

View In Hierarchy

View datasets in the App without persisting them to the database.

Examples:

# View a dataset stored on disk in the App
fiftyone app view --dataset-dir <dataset-dir> --type <type>

# View a zoo dataset in the App
fiftyone app view --zoo-dataset <name> --splits <split1> ...

# View a directory of images in the App
fiftyone app view --images-dir <images-dir>

# View a glob pattern of images in the App
fiftyone app view --images-patt <images-patt>

# View a directory of videos in the App
fiftyone app view --videos-dir <videos-dir>

# View a glob pattern of videos in the App
fiftyone app view --videos-patt <videos-patt>

# View a dataset stored in JSON format on disk in the App
fiftyone app view --json-path <json-path>

# View the dataset in a remote App session
fiftyone app view ... --remote

# View a random subset of the data stored on disk in the App
fiftyone app view ... --kwargs max_samples=50 shuffle=True
Static Method execute Executes the command on the given args.
Static Method setup Setup the command-line arguments for the command.
@staticmethod
def execute(parser, args): (source)

Executes the command on the given args.

Parameters
parserthe argparse.ArgumentParser instance for the command
argsan argparse.Namespace instance containing the arguments for the command
@staticmethod
def setup(parser): (source)

Setup the command-line arguments for the command.

Parameters
parseran argparse.ArgumentParser instance