MCPcopy Create free account
hub / github.com/Relento/lego_release / initialize

Method initialize

eval.py:302–312  ·  view source on GitHub ↗
(self, parser)

Source from the content-addressed store, hash-verified

300
301class EvalOptions(TestOptions):
302 def initialize(self, parser):
303 parser = TestOptions.initialize(self, parser)
304 parser.add_argument('--n_set', type=int, default=1, help='Number of sets to be evaluated.')
305 parser.add_argument('--output_pred_json', action='store_true')
306 parser.add_argument('--output_lpub3d_ldr', action='store_true')
307 parser.add_argument('--render_pred_json', action='store_true')
308 parser.add_argument('--single_json', action='store_true')
309 parser.add_argument('--autoregressive_inference', action='store_true')
310 parser.add_argument('--oracle_percentage', type=float, default=0,
311 help='Percentage of steps that are assumed to be true.')
312 return parser
313
314
315if __name__ == '__main__':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected