From 3e5d1a67a084bd1deaf9bcb6ce556797faef0b9c Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Fri, 9 Oct 2015 09:54:15 -0400 Subject: [PATCH] Compare demo: Fix options. --- demos/compare.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/compare.py b/demos/compare.py index 8144f2f..ea2b622 100755 --- a/demos/compare.py +++ b/demos/compare.py @@ -54,8 +54,8 @@ parser.add_argument('--dlibRoot', type=str, parser.add_argument('--networkModel', type=str, help="Path to Torch network model.", default=os.path.join(facenetModelDir, 'nn4.v1.t7')) parser.add_argument('--imgDim', type=int, help="Default image dimension.", default=96) -parser.add_argument('--cuda', type=bool, default=False) -parser.add_argument('--verbose', type=bool, default=False) +parser.add_argument('--cuda', action='store_true') +parser.add_argument('--verbose', action='store_true') args = parser.parse_args()