| 299 | |
| 300 | |
| 301 | class 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 | |
| 315 | if __name__ == '__main__': |