We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c5627 commit 4f59b70Copy full SHA for 4f59b70
cosypose/scripts/run_detector_training.py
@@ -13,6 +13,7 @@
13
parser.add_argument('--config', default='', type=str)
14
parser.add_argument('--debug', action='store_true')
15
parser.add_argument('--resume', default='', type=str)
16
+ parser.add_argument('--no-eval', action='store_true')
17
args = parser.parse_args()
18
19
cfg = argparse.ArgumentParser('').parse_args([])
@@ -104,6 +105,9 @@
104
105
raise ValueError(args.config)
106
cfg.val_ds_names = cfg.train_ds_names
107
108
+ if args.no_eval:
109
+ cfg.test_ds_names = []
110
+
111
cfg.run_id = f'detector-{args.config}-{run_comment}-{N_RAND}'
112
113
if args.debug:
0 commit comments