From 73b3f57c7059656d16c361dc4565e9d6af485c87 Mon Sep 17 00:00:00 2001 From: nunzip Date: Mon, 10 Dec 2018 02:37:21 +0000 Subject: Change lamda float --- evaluate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluate.py b/evaluate.py index 9218649..7a5e3ca 100755 --- a/evaluate.py +++ b/evaluate.py @@ -44,7 +44,7 @@ parser.add_argument("-e", "--euclidean", help="Standard euclidean", action='stor parser.add_argument("-r", "--rerank", help="Use k-reciprocal rernaking", action='store_true') parser.add_argument("-p", "--reranka", help="Parameter 1 for Rerank", type=int, default = 11) parser.add_argument("-q", "--rerankb", help="Parameter 2 for rerank", type=int, default = 3) -parser.add_argument("-l", "--rerankl", help="Coefficient to combine distances", type=int, default = 0.3) +parser.add_argument("-l", "--rerankl", help="Coefficient to combine distances", type=float, default = 0.3) parser.add_argument("-n", "--neighbors", help="Number of neighbors", type=int, default = 1) parser.add_argument("-v", "--verbose", help="Use verbose output", action='store_true') parser.add_argument("-s", "--showrank", help="Save ranklist pic id in a txt file", type=int, default = 0) -- cgit v1.2.3-54-g00ecf