From f5c8e9483a9542049f2040b3b110116d8c9bb204 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Tue, 9 Jul 2019 12:05:23 +0200 Subject: [PATCH] Removed obsolete CLI options Signed-off-by: Jim Martens --- src/twomartens/masterthesis/main.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/twomartens/masterthesis/main.py b/src/twomartens/masterthesis/main.py index 4e43b94..59b3a1a 100644 --- a/src/twomartens/masterthesis/main.py +++ b/src/twomartens/masterthesis/main.py @@ -163,9 +163,6 @@ def _build_ssd_train(parser: argparse.ArgumentParser) -> None: def _build_auto_encoder_train(parser: argparse.ArgumentParser) -> None: - parser.add_argument("--coco_path", type=str, help="the path to the COCO data set") - parser.add_argument("--weights_path", type=str, help="path to the weights directory") - parser.add_argument("--summary_path", type=str, help="path to the summaries directory") parser.add_argument("category", type=int, help="the COCO category to use") parser.add_argument("num_epochs", type=int, help="the number of epochs to train", default=80) parser.add_argument("iteration", type=int, help="the training iteration") @@ -186,19 +183,11 @@ def _build_test(parser: argparse.ArgumentParser) -> None: def _build_ssd_test(parser: argparse.ArgumentParser) -> None: - parser.add_argument("--coco_path", type=str, help="the path to the COCO data set") - parser.add_argument("--weights_path", type=str, help="path to the weights directory") - parser.add_argument("--ground_truth_path", type=str, help="path to the prepared ground truth directory") - parser.add_argument("--summary_path", type=str, help="path to the summaries directory") - parser.add_argument("--output_path", type=str, help="path to the output directory") parser.add_argument("iteration", type=int, help="the validation iteration") parser.add_argument("train_iteration", type=int, help="the train iteration") def _build_auto_encoder_test(parser: argparse.ArgumentParser) -> None: - parser.add_argument("--coco_path", type=str, help="the path to the COCO data set") - parser.add_argument("--weights_path", type=str, help="path to the weights directory") - parser.add_argument("--summary_path", type=str, help="path to the summaries directory") parser.add_argument("category", type=int, help="the COCO category to validate") parser.add_argument("category_trained", type=int, help="the trained COCO category") parser.add_argument("iteration", type=int, help="the validation iteration") @@ -218,22 +207,14 @@ def _build_evaluate(parser: argparse.ArgumentParser) -> None: def _build_ssd_evaluate(parser: argparse.ArgumentParser) -> None: - parser.add_argument("--output_path", type=str, help="path to the output directory") - parser.add_argument("--evaluation_path", type=str, help="path to the directory for the evaluation results") parser.add_argument("iteration", type=int, help="the validation iteration to use") def _build_visualise(parser: argparse.ArgumentParser) -> None: - parser.add_argument("--coco_path", type=str, help="the path to the COCO data set") - parser.add_argument("--ground_truth_path", type=str, help="path to the prepared ground truth directory") - parser.add_argument("--output_path", type=str, help="path to the output directory") parser.add_argument("trajectory", type=int, help="trajectory to visualise") def _build_measure(parser: argparse.ArgumentParser) -> None: - parser.add_argument("--coco_path", type=str, help="the path to the COCO data set") - parser.add_argument("--ground_truth_path", type=str, help="path to the prepared ground truth directory") - parser.add_argument("--output_path", type=str, help="path to the output directory") parser.add_argument("tarball_id", type=int, help="id of the used tarball")