MCPcopy Create free account
hub / github.com/InternRobotics/EmbodiedScan / parse_args

Function parse_args

tools/eval_script_portable.py:263–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261
262
263def parse_args():
264 parser = argparse.ArgumentParser(
265 description='MMDet3D test (and eval) a model')
266 parser.add_argument('results_file', help='the results pkl file')
267 parser.add_argument('ann_file', help='annoations json file')
268
269 parser.add_argument('--iou_thr',
270 type=list,
271 default=[0.25, 0.5],
272 help='the IoU threshold during evaluation')
273
274 args = parser.parse_args()
275 return args
276
277
278def ground_eval(gt_annos, det_annos, iou_thr):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected