transformers
Add EfficientLoFTR model
#36355
Merged

Add EfficientLoFTR model #36355

qubvel merged 81 commits into huggingface:main from sbucaille:add_eloftr
sbucaille
sbucaille
qubvel qubvel requested a review from qubvel qubvel 1 year ago
qubvel qubvel added New model
qubvel qubvel added Vision
qubvel
qubvel
qubvel commented on 2025-03-03
sbucaille
qubvel
sbucaille sbucaille force pushed from 8eada84c to 8d6a0484 1 year ago
sbucaille sbucaille force pushed from 8098b16c to a60f4cdb 1 year ago
sbucaille
qubvel qubvel requested a review from qubvel qubvel 1 year ago
qubvel
qubvel commented on 2025-03-13
sbucaille sbucaille force pushed from e7d0b8e4 to 5acfdb58 1 year ago
sbucaille
sbucaille
sbucaille
qubvel qubvel requested a review from qubvel qubvel 1 year ago
qubvel
qubvel commented on 2025-04-01
sbucaille sbucaille force pushed from 9d130fa4 to b5117b6a 1 year ago
sbucaille sbucaille force pushed from 4ec83cc0 to fdd377a0 1 year ago
sbucaille
qubvel qubvel requested a review from qubvel qubvel 1 year ago
sbucaille sbucaille force pushed from 9b154f2b to ab0a051d 1 year ago
sbucaille
sbucaille
initial commit
93256f2a
sbucaille Apply suggestions from code review
e969a1e6
fix: various typos, typehints, refactors from suggestions
492dccff
fix: fine_matching method
7dd04830
sbucaille Added EfficientLoFTRModel and AutoModelForKeypointMatching class
4c748e87
sbucaille fix: got rid of compilation breaking instructions
62d95a59
sbucaille docs: added todo for plot
560bfa2e
sbucaille fix: used correct hub repo
8c8d4de5
sbucaille docs: added comments
e29bb261
sbucaille fix: run modular
ed6e0838
sbucaille doc: added PyTorch badge
e64b4c50
sbucaille fix: model repo typo in config
14dcd0e7
sbucaille fix: make modular
8cafdaba
sbucaille fix: removed mask values from outputs
5ccfc509
sbucaille feat: added plot_keypoint_matching to EfficientLoFTRImageProcessor
172729e3
sbucaille feat: added SuperGlueForKeypointMatching to AutoModelForKeypointMatch…
d20ccfc7
sbucaille fix: reformat
19c08954
sbucaille refactor: renamed aggregation_sizes config parameter into q, kv aggre…
0f961f1b
sbucaille doc: added q, kv aggregation kernel size and stride doc to config
5ee4145a
sbucaille refactor: converted efficientloftr implementation from modular to cop…
bec741ae
sbucaille tests: overwrote batching_equivalence for "keypoints" specific tests
f47ea90e
sbucaille fix: changed EfficientLoFTRConfig import in test_modeling_rope_utils
82929c01
sbucaille fix: make fix-copies
4901d3b2
sbucaille fix: make style
39cd0ea2
sbucaille fix: update rope function to make meta tests pass
0e632900
sbucaille fix: rename plot_keypoint_matching to visualize_output for clarity
0f9dd7c8
sbucaille refactor: optimize image pair processing by removing redundant target…
58d728b8
sbucaille feat: add EfficientLoFTRImageProcessor to image processor mapping
97dfa2e6
sbucaille refactor: removed logger and updated attention forward
22226c34
sbucaille refactor: added auto_docstring and can_return_tuple decorators
0c924b20
sbucaille refactor: update type imports
e729ba3f
sbucaille refactor: update type hints from List/Dict to list/dict for consistency
e9b85e41
sbucaille refactor: update MODEL_MAPPING_NAMES and __all__ to include LightGlue…
3d9669ab
sbucaille sbucaille force pushed from 49419e08 to 3d9669ab 1 year ago
sbucaille fix: change type hint for size parameter in EfficientLoFTRImageProces…
c7fdaf91
sbucaille
qubvel
qubvel fix typing
4ecf5c90
qubvel Merge branch 'main' into pr/sbucaille/36355
39192c46
qubvel fix some typing issues
f47756be
qubvel nit
4cfde9ac
qubvel a few more typehint fixes
f48146da
qubvel Remove output_attentions and output_hidden_states from modeling code
b6e2a82f
qubvel else -> elif to support efficientloftr
8fb411f7
qubvel nit
4508db2b
qubvel
qubvel commented on 2025-07-14
sbucaille tests: added EfficientLoFTR image processor tests
4c5a4535
sbucaille refactor: reorder functions
9feb4f69
sbucaille chore: update copyright year in EfficientLoFTR test file
3aa9aff8
sbucaille
qubvel Use default rope
08d6615f
qubvel Add docs
890d6dc4
qubvel Update visualization method
1bbfec90
qubvel fix doc order
a614057b
qubvel remove 2d rope test
a7183a0d
qubvel
qubvel approved these changes on 2025-07-15
qubvel Update src/transformers/models/efficientloftr/modeling_efficientloftr.py
f6dc36d8
qubvel fix docs
f3f07e9b
qubvel
qubvel commented on 2025-07-15
qubvel Update src/transformers/models/efficientloftr/image_processing_effici…
bbda03fd
ArthurZucker
ArthurZucker commented on 2025-07-15
qubvel update gradient
f59af0df
sbucaille refactor: removed unused codepath
d842f63b
qubvel Add motivation to keep postprocessing in modeling code
28834dff
sbucaille refactor: removed unnecessary variable declarations
c15edba1
sbucaille docs: use load_image from image_utils
3355fad5
sbucaille refactor: moved stage in and out channels computation to configuration
d41fb6be
sbucaille refactor: set an intermediate_size parameter to be more explicit
09463ad5
sbucaille refactor: removed all mentions of attention masks as they are not used
ec4d65ac
sbucaille refactor: moved position_embeddings to be computed once in the model …
6c8b6fd1
qubvel
qubvel commented on 2025-07-16
sbucaille refactor: removed unnecessary hidden expansion parameter from config
71fb8c2b
sbucaille refactor: removed completely hidden expansions
b314d98f
sbucaille refactor: removed position embeddings slice function
cc70a373
sbucaille tests: fixed broken tests because of previous commit
7878d1a6
qubvel qubvel requested a review from qubvel qubvel 1 year ago
qubvel fix is_grayscale typehint
1fd91042
qubvel not refactoring
de6f5d0f
qubvel not renaming
4e4df87d
qubvel move h/w to embeddings class
c69fde30
qubvel Precompute embeddings in init
abecd173
qubvel
github-actions
qubvel Merge branch 'main' into add_eloftr
3fb3ba0c
HuggingFaceDocBuilderDev
sbucaille
qubvel
sbucaille fix: replaced cuda device in convert script to accelerate device
50ee9a81
sbucaille fix: replaced stevenbucaille repo to zju-community
128fd425
sbucaille
qubvel
qubvel Merge branch 'main' into add_eloftr
5662c54e
qubvel Remove accelerator.device from conversion script
b1935766
qubvel
github-actions
ArthurZucker
ArthurZucker approved these changes on 2025-07-21
sbucaille refactor: moved parameter computation in configuration instead of fig…
eb80048e
sbucaille fix: removed unused attributes in configuration
525db053
sbucaille fix: missing self
1552467b
qubvel
github-actions
sbucaille
sbucaille fix: refactoring and tests
bace3c95
github-actions
sbucaille fix: make style
d29bb512
sbucaille
qubvel
qubvel
qubvel approved these changes on 2025-07-22
github-actions
qubvel qubvel merged a88ea9cb into main 1 year ago
qubvel
sbucaille sbucaille deleted the add_eloftr branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone