diff options
-rwxr-xr-x | evaluate.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |