fiftyone.core.map.factory#

Factory for mapping backends.

Copyright 2017-2025, Voxel51, Inc.

Classes:

MapperFactory()

Manage mapper implementations

class fiftyone.core.map.factory.MapperFactory#

Bases: object

Manage mapper implementations

Methods:

batch_methods()

Get available batch methods

mapper_keys()

Get available mapper class keys

create([mapper_key, num_workers, ...])

Create a mapper instance

classmethod batch_methods() List[str]#

Get available batch methods

classmethod mapper_keys() List[str]#

Get available mapper class keys

classmethod create(mapper_key: str | None = None, num_workers: int | None = None, batch_method: str | None = None, batch_size: int | None = None, **mapper_extra_kwargs) Mapper#

Create a mapper instance