Skip to content

deeplabcut.modelzoo.generalized_data_converter.datasets.materialize

Classes:

Name Description
MaDLC_config

MaDLC_config

Methods:

Name Description
__init__

Plain text only for generating templates Some variables can be configured by

Source code in deeplabcut/modelzoo/generalized_data_converter/datasets/materialize.py
class MaDLC_config:
    def __init__(self):
        """Plain text only for generating templates Some variables can be configured by
        the user later."""

        self.cfg = {k: v for k, v in vars().items() if "__" not in k and "self" not in k}

    def create_cfg(self, proj_root, kwargs):
        self.cfg.update(kwargs)
        with open(os.path.join(proj_root, "config.yaml"), "w") as f:
            yaml.dump(self.cfg, f)

__init__

__init__()

Plain text only for generating templates Some variables can be configured by the user later.

Source code in deeplabcut/modelzoo/generalized_data_converter/datasets/materialize.py
def __init__(self):
    """Plain text only for generating templates Some variables can be configured by
    the user later."""

    self.cfg = {k: v for k, v in vars().items() if "__" not in k and "self" not in k}