datumaro.components.config_model#

Classes

BuildStage([config])

BuildTarget([config])

Model([config])

PipelineConfig([config, fallback, schema, ...])

ProjectConfig([config, mutable])

ProjectLayout()

Source([config])

TreeConfig([config, mutable])

TreeLayout()

class datumaro.components.config_model.Source(config=None)[source]#

Bases: Config

property is_generated: bool#
class datumaro.components.config_model.Model(config=None)[source]#

Bases: Config

class datumaro.components.config_model.BuildStage(config=None)[source]#

Bases: Config

class datumaro.components.config_model.BuildTarget(config=None)[source]#

Bases: Config

property root#
property head#
property has_stages: bool#
find_stage(stage)[source]#
get_stage(stage)[source]#
class datumaro.components.config_model.TreeConfig(config=None, mutable=True)[source]#

Bases: Config

class datumaro.components.config_model.ProjectConfig(config=None, mutable=True)[source]#

Bases: Config

class datumaro.components.config_model.PipelineConfig(config=None, fallback=None, schema=None, mutable=True)[source]#

Bases: Config

class datumaro.components.config_model.ProjectLayout[source]#

Bases: object

aux_dir = '.datumaro'#
cache_dir = 'cache'#
index_dir = 'index'#
working_tree_dir = 'tree'#
head_file = 'head'#
tmp_dir = 'tmp'#
models_dir = 'models'#
plugins_dir = 'plugins'#
conf_file = 'config.yml'#
class datumaro.components.config_model.TreeLayout[source]#

Bases: object

conf_file = 'config.yml'#
sources_dir = 'sources'#