MCPcopy Index your code
hub / github.com/modelscope/modelscope / main

Function main

modelscope/tools/eval.py:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def main():
23 args = parse_args()
24 kwargs = dict(cfg_file=args.config)
25 trainer = build_trainer(args.trainer_name, kwargs)
26 trainer.evaluate(args.checkpoint_path)
27
28
29if __name__ == '__main__':

Calls 3

build_trainerFunction · 0.90
parse_argsFunction · 0.70
evaluateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…