-
Notifications
You must be signed in to change notification settings - Fork 31.1k
[EfficientLoFTR] LRU Cached embedding computation at inference #40329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
20cf94a
3fa6b94
9526316
bf9ca10
c211fa5
aba80b7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,15 +50,15 @@ def __init__( | |
| image_width=80, | ||
| image_height=60, | ||
| stage_num_blocks: list[int] = [1, 1, 1], | ||
| out_features: list[int] = [32, 32, 64], | ||
| out_features: list[int] = [32, 32, 128], | ||
| stage_stride: list[int] = [2, 1, 2], | ||
| q_aggregation_kernel_size: int = 1, | ||
| kv_aggregation_kernel_size: int = 1, | ||
| q_aggregation_stride: int = 1, | ||
| kv_aggregation_stride: int = 1, | ||
| num_attention_layers: int = 2, | ||
| num_attention_heads: int = 8, | ||
| hidden_size: int = 64, | ||
| hidden_size: int = 128, | ||
|
Comment on lines
+53
to
+61
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. that's for FA2 tests to pass There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How didn't I catch this one before ? 🤔 But thanks for taking care of it ! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's skipped locally in case you don't have FA2 installed 😄 |
||
| coarse_matching_threshold: float = 0.0, | ||
| fine_kernel_size: int = 2, | ||
| coarse_matching_border_removal: int = 0, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix attribute name