INNER CODE UNIT · Python

export_model

DeepLabCut/DeepLabCut · deeplabcut/cli.py:773

def export_model(_, *args, **kwargs):
    """Export DLC models for the model zoo or for live inference.

    Delegates to ``deeplabcut.export_model``.

    Saves the pose configuration, snapshot files, and frozen graph of the model to a
    directory named exported-models within the project directory.

    Args:
        cfg_path (string): Path to the DLC Project config.yaml file.
        iteration (int, optional): The model iteration you wish to export.
            If None, uses the iteration listed in the config file.
        shuffle (int, optional): The shuffle of the model to export. Defaults to 1.
        trainingsetindex (int, optional): Index of the training fraction for the model
            to export. Defaults to 0.
        snapshotindex (int, optional): The snapshot index for the weights you wish to
            export. If None, uses the snapshotindex as defined in config.yaml.
            Defaults to None.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…