Skip to content

Commit

Permalink
fix disable knn default value (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonkeyShot21 authored Sep 21, 2021
1 parent af7282f commit e9be48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solo/methods/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def add_model_specific_args(parent_parser: ArgumentParser) -> ArgumentParser:
parser.add_argument("--encode_indexes_into_labels", action="store_true")

# online knn eval
parser.add_argument("--disable_knn_eval", default=True, action="store_false")
parser.add_argument("--disable_knn_eval", action="store_true")
parser.add_argument("--knn_k", default=20, type=int)

return parent_parser
Expand Down

0 comments on commit e9be48a

Please sign in to comment.