From cec1ba2c83612094e0c80cb107394f051ac5e3dd Mon Sep 17 00:00:00 2001 From: lorenzo Date: Fri, 26 Jul 2019 12:08:49 +0200 Subject: [PATCH] make model required --- monoloco/prep/__init__.py | 1 - monoloco/run.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/monoloco/prep/__init__.py b/monoloco/prep/__init__.py index 8b13789..e69de29 100644 --- a/monoloco/prep/__init__.py +++ b/monoloco/prep/__init__.py @@ -1 +0,0 @@ - diff --git a/monoloco/run.py b/monoloco/run.py index 5e790f9..1d1b8bf 100644 --- a/monoloco/run.py +++ b/monoloco/run.py @@ -46,8 +46,7 @@ def cli(): predict_parser.add_argument('--model', help='path of MonoLoco model to load', default="data/models/monoloco-190719-0923.pkl") predict_parser.add_argument('--hidden_size', type=int, help='Number of hidden units in the model', default=512) - predict_parser.add_argument('--path_gt', help='path of json file with gt 3d localization', - default='data/arrays/names-kitti-190726-1141.json') + predict_parser.add_argument('--path_gt', help='path of json file with gt 3d localization', required=True) predict_parser.add_argument('--transform', help='transformation for the pose', default='None') predict_parser.add_argument('--draw_box', help='to draw box in the images', action='store_true') predict_parser.add_argument('--predict', help='whether to make prediction', action='store_true')