INNER CODE UNIT · Python
main
DeepLabCut/DeepLabCut · deeplabcut/benchmark/cli.py:32
def main():
"""Main CLI entry point for generating deeplabcut.benchmark results."""
args = _parse_args()
if not args.nocache:
results = deeplabcut.benchmark.loadcache()
else:
results = None
results = deeplabcut.benchmark.evaluate(
include_benchmarks=args.include,
results=results,
on_error=args.onerror,
)
if not args.nocache:
deeplabcut.benchmark.savecache(results)
try:
print(results.toframe())
except StopIteration:
pass