sleap.nn.data.grouping
Group inference results (“examples”) by frame.
-
sleap.nn.data.grouping.group_examples(examples)[source]
Group examples into dictionary.
Key is (video_ind, frame_ind), val is list of examples matching key.
-
sleap.nn.data.grouping.group_examples_iter(examples)[source]
Iterator which groups examples.
Yields ((video_ind, frame_ind), list of examples matching vid/frame).