MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / evaluate

Function evaluate

mbench/cli/evaluate.py:55–67  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

53
54## TODO
55def evaluate(args):
56 args_dict = vars(args)
57 abs_path_main = os.path.abspath(f'{CUR_DIR}/../launch/evaluate.py')
58 abs_path_json = os.path.abspath(f'{CUR_DIR}/../MBench_full_info.json')
59 cmd = [
60 'python3',
61 abs_path_main,
62 '--output_path', os.path.join(args_dict['output_path']),
63 '--full_json_dir', abs_path_json,
64 '--evaluation_path', args_dict['evaluation_path'],
65 '--dimension', args_dict['dimension']
66 ]
67 subprocess.run(cmd)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected