Skip to content

Commit

Permalink
fix: make query and database required
Browse files Browse the repository at this point in the history
  • Loading branch information
weishan committed Jul 1, 2023
1 parent 35cd55f commit 714c481
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dinov2_retrieval/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ def main():
"-q",
"--query",
type=str,
required=True,
help="path to a query image file or image folder",
)
parser.add_argument(
"-d",
"--database",
type=str,
required=True,
help="path to the database image file or image folder",
)
parser.add_argument(
Expand Down

0 comments on commit 714c481

Please sign in to comment.