MCPcopy Create free account
hub / github.com/DeepLabCut/DeepLabCut / todict

Method todict

deeplabcut/benchmark/base.py:176–178  ·  view source on GitHub ↗

Export result object to dictionary, with less verbose key names.

(self)

Source from the content-addressed store, hash-verified

174 return cls(**kwargs)
175
176 def todict(self) -> dict:
177 """Export result object to dictionary, with less verbose key names."""
178 return {key: getattr(self, attr) for attr, key in self._export_mapping.items()}
179
180
181class ResultCollection:

Callers 2

toframeMethod · 0.80
todictsMethod · 0.80

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected