Skip to main content

vame.initialize_project.new

Variational Animal Motion Embedding 1.0-alpha Toolbox © K. Luxem & P. Bauer, Department of Cellular Neuroscience Leibniz Institute for Neurobiology, Magdeburg, Germany

https://github.com/LINCellularNeuroscience/VAME Licensed under GNU General Public License v3.0

The following code is adapted from:

DeepLabCut2.0 Toolbox (deeplabcut.org) © A. & M. Mathis Labs https://github.com/AlexEMG/DeepLabCut Please see AUTHORS for contributors. https://github.com/AlexEMG/DeepLabCut/blob/master/AUTHORS Licensed under GNU Lesser General Public License v3.0

init_new_project

def init_new_project(
project: str,
videos: List[str],
poses_estimations: List[str],
working_directory: str = '.',
videotype: str = '.mp4',
paths_to_pose_nwb_series_data: Optional[str] = None) -> str

Creates a new VAME project with the given parameters.

Arguments:

  • project str - Project name.
  • videos List[str] - List of videos paths to be used in the project. E.g. ['./sample_data/Session001.mp4']
  • poses_estimations List[str] - List of pose estimation files paths to be used in the project. E.g. ['./sample_data/pose estimation/Session001.csv'] working_directory (str, optional): description. Defaults to None.
  • videotype str, optional - Video extension (.mp4 or .avi). Defaults to '.mp4'.

Returns:

  • projconfigfile str - Path to the new vame project config file.