diplomat.frontends.sleap.convert_results_sleap.convert_results
- diplomat.frontends.sleap.convert_results_sleap.convert_results(config: Union[PathLike, str], videos: Union[List[Union[PathLike, str]], Union[PathLike, str]]) None[source]
Convert diplomat generated results for SLEAP (in .slp format) to a csv based table format for easier analysis of results. The csv will have the same name and file path as the original .slp file, just a different extension.
- Parameters:
config – The path (or list of paths) to the sleap model(s) used for inference, each as either as a folder or zip file.
videos – Paths to the sleap label files, or .slp files, to convert to csv files, NOT the video files.