MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / _parse_ground_truth_data

Function _parse_ground_truth_data

deeplabcut/core/inferenceutils.py:1058–1070  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

1056
1057
1058def _parse_ground_truth_data(data):
1059 gt = dict()
1060 for i, arr in enumerate(data):
1061 temp = []
1062 for row in arr:
1063 if np.isnan(row[:, :2]).all():
1064 continue
1065 ass = Assembly.from_array(row)
1066 temp.append(ass)
1067 if not temp:
1068 continue
1069 gt[i] = temp
1070 return gt
1071
1072
1073def find_outlier_assemblies(dict_of_assemblies, criterion="area", qs=(5, 95)):

Callers 2

_benchmark_paf_graphsFunction · 0.90

Calls 1

from_arrayMethod · 0.80

Tested by

no test coverage detected