diplomat.frontends.deeplabcut.tweak_results.tweak_videos

diplomat.frontends.deeplabcut.tweak_results.tweak_videos(config: Union[PathLike, str], videos: Union[List[Union[PathLike, str]], Union[PathLike, str]], shuffle: int = 1, training_set_index: int = 0, video_type: str = '') None[source]

Make minor modifications and tweaks to tracked results produced by DEEPLABCUT (or DIPLOMAT) using the supervised UI.

Parameters
  • config – The path to the config.yaml file for the project.

  • videos – A single video or list of videos to tweak, passed in order to modify.

  • shuffle – The shuffle index of the model used to track the video. Defaults to 1.

  • training_set_index – The training index of the model used. Defaults to 0.

  • video_type – An optional video extension to limit the videos to videos with the specified extension if a directory is passed to the ‘videos’ parameter.