transformers
Add LightGlue model
#31718
Merged

Add LightGlue model #31718

sbucaille
sbucaille sbucaille force pushed 1 year ago
sbucaille sbucaille force pushed 1 year ago
sbucaille
amyeroberts
huggingface huggingface deleted a comment from github-actions on 2024-08-27
sbucaille sbucaille force pushed 1 year ago
sbucaille
sbucaille sbucaille force pushed 1 year ago
sbucaille sbucaille force pushed 1 year ago
sbucaille sbucaille force pushed 1 year ago
sbucaille sbucaille force pushed 1 year ago
Rocketknight1
sbucaille sbucaille force pushed 1 year ago
sbucaille
qubvel qubvel added New model
qubvel qubvel added Vision
sbucaille sbucaille force pushed 1 year ago
sbucaille
qubvel qubvel requested a review from qubvel qubvel 1 year ago
qubvel qubvel added run-slow
qubvel
qubvel commented on 2024-12-04
sbucaille sbucaille force pushed 1 year ago
sbucaille
qubvel qubvel requested a review from qubvel qubvel 1 year ago
qubvel
qubvel commented on 2024-12-06
HuggingFaceDocBuilderDev
sbucaille
qubvel qubvel requested a review from qubvel qubvel 1 year ago
qubvel
qubvel commented on 2024-12-09
qubvel
sbucaille
sbucaille
sbucaille sbucaille force pushed to 60e35b13 1 year ago
sbucaille sbucaille requested a review from amyeroberts amyeroberts 1 year ago
sbucaille sbucaille requested a review from ArthurZucker ArthurZucker 1 year ago
sbucaille sbucaille requested a review from Rocketknight1 Rocketknight1 1 year ago
sbucaille sbucaille requested a review from stevhliu stevhliu 1 year ago
sbucaille
qubvel qubvel removed review request from Rocketknight1 Rocketknight1 1 year ago
qubvel qubvel removed review request from amyeroberts amyeroberts 1 year ago
qubvel qubvel removed review request from ArthurZucker ArthurZucker 1 year ago
qubvel qubvel removed review request from stevhliu stevhliu 1 year ago
qubvel
ArthurZucker
ArthurZucker commented on 2025-01-23
sbucaille
sbucaille sbucaille force pushed from c0de66c7 to 83f67c82 1 year ago
sbucaille sbucaille force pushed from 83f67c82 to 81107fd8 1 year ago
sbucaille
sbucaille
sbucaille
ArthurZucker
ArthurZucker ArthurZucker requested a review from ArthurZucker ArthurZucker 359 days ago
sbucaille sbucaille force pushed from 8dac9fa0 to e32cd3d2 352 days ago
sbucaille
sbucaille sbucaille force pushed from e32cd3d2 to 644a7582 334 days ago
sbucaille
stevhliu
stevhliu commented on 2025-03-10
sbucaille
ArthurZucker
ArthurZucker approved these changes on 2025-04-11
ArthurZucker
sbucaille sbucaille force pushed from a295673a to 7f15215c 302 days ago
sbucaille
sbucaille sbucaille force pushed from 1364a797 to f871dd22 298 days ago
sbucaille
Cyrilvallez
Cyrilvallez commented on 2025-04-22
sbucaille sbucaille force pushed from 61d17428 to 314710e1 284 days ago
sbucaille
Cyrilvallez
Cyrilvallez commented on 2025-05-27
sbucaille
Cyrilvallez
Cyrilvallez
Cyrilvallez commented on 2025-06-16
sbucaille init
42d09d9a
sbucaille chore: various changes to LightGlue
ee430373
sbucaille chore: various changes to LightGlue
a48b942e
sbucaille chore: various changes to LightGlue
14799d02
sbucaille chore: various changes to LightGlue
0a54a43c
sbucaille Fixed dynamo bug and image padding tests
444bc423
sbucaille refactor: applied refactoring changes from SuperGlue's concat, batch …
a5804cbb
sbucaille tests: removed sdpa support and changed expected values
a093215b
sbucaille chore: added some docs and refactoring
2087f108
sbucaille chore: fixed copy to superpoint.image_processing_superpoint.convert_t…
3634ae19
sbucaille feat: adding batch implementation
36d2249a
sbucaille feat: added validation for preprocess and post process method to Ligh…
f7004e75
sbucaille chore: changed convert_lightglue_to_hf script to comply with new stan…
6f888dcf
sbucaille chore: changed lightglue test values to match new lightglue config pu…
e828ad92
sbucaille chore: simplified convert_lightglue_to_hf conversion map
45bf864f
sbucaille feat: adding batching implementation
582a022a
sbucaille chore: make style
3a1f9f43
feat: added threshold to post_process_keypoint_matching method
78cf7ef2
fix: added missing instructions that turns keypoints back to absolute…
c5a8df81
fix: added typehint and docs
c5a81aad
chore: make style
bd60938e
[run-slow] lightglue
a09a4ff2
sbucaille fix: add matches different from -1 to compute valid matches in post_p…
0c965f55
sbucaille tests: added CUDA proof tests similar to SuperGlue
1881324d
sbucaille chore: various changes to modeling_lightglue.py
2cf1a669
sbucaille chore: various changes to convert_lightglue_to_hf.py
db163fbb
sbucaille chore: fixed imports in lightglue files
9686f217
sbucaille [run-slow] lightglue
7a2269f9
sbucaille chore: make style
5de6d175
sbucaille chore: various changes to LightGlue
a48b942e
sbucaille refactor: applied refactoring changes from SuperGlue's concat, batch …
a5804cbb
sbucaille tests: removed sdpa support and changed expected values
a093215b
sbucaille feat: added validation for preprocess and post process method to Ligh…
f7004e75
sbucaille chore: changed convert_lightglue_to_hf script to comply with new stan…
6f888dcf
sbucaille chore: changed lightglue test values to match new lightglue config pu…
e828ad92
feat: added threshold to post_process_keypoint_matching method
78cf7ef2
fix: added missing instructions that turns keypoints back to absolute…
c5a8df81
fix: added typehint and docs
c5a81aad
chore: make style
bd60938e
[run-slow] lightglue
a09a4ff2
sbucaille chore: various changes to convert_lightglue_to_hf.py
db163fbb
sbucaille chore: fixed imports in lightglue files
9686f217
sbucaille [run-slow] lightglue
7a2269f9
[run-slow] lightglue
df9a1f25
fix: added missing grayscale argument in image processor in case use …
f2f254c7
sbucaille fix: changed lightglue HF repo to lightglue_superpoint with grayscale…
74481241
sbucaille refactor: refactor do_layer_keypoint_pruning
e6701678
sbucaille tests: added tests with no early stop and keypoint pruning
b371d200
sbucaille refactor: various refactoring to modeling_lightglue.py
61e43e21
sbucaille refactor: added comments and renamed filter_matches to get_matches_fr…
6a16796e
sbucaille tests: added copied from statement with superglue tests
cb8fb5a7
sbucaille docs: added comment to prepare_keypoint_matching_output function in t…
cef63f00
sbucaille [run-slow] lightglue
66f53a5c
sbucaille docs: added Optional typehint to LightGlueKeypointMatchingOutput
72ba4cb7
sbucaille chore: removed pad_images function
882677b2
sbucaille chore: set do_grayscale default value to True in LightGlueImageProcessor
7364e687
sbucaille Apply suggestions from code review
5f917e46
sbucaille docs: added missing LightGlueConfig typehint in nn.Module __init__ me…
990ed452
sbucaille refactor: set device variable
ea52fe2c
sbucaille docs: added comments to reshape.flip.reshape instruction to perform c…
e445766b
sbucaille refactor: used batched inference for keypoint detector forward pass
814297bc
sbucaille fix: added fix for SDPA tests
733ae6eb
sbucaille docs: fixed docstring for LightGlueImageProcessor
b764dd0e
sbucaille [run-slow] lightglue
d8306121
refactor: added missing arguments in LightGlueConfig init method
d4c075aa
refactor: added checkpoint url as default variable to verify models o…
5f0f98a5
fix: moved print message inside if statement
cc1b2933
fix: added log assignment r removal in convert script
ea6ae20e
fix: got rid of confidence_thresholds as registered buffers
c529ade9
sbucaille docs: changed copyright to 2025
845f47c7
sbucaille fix: removed unnecessary import
79a3f3d1
sbucaille fix: added missing import error for matplotlib
a46f72cf
Updated convert script to push on ETH org
73d807d0
sbucaille fix: added missing licence
80b20152
sbucaille fix: make fix-copies
c8b45503
sbucaille refactor: use cohere apply_rotary_pos_emb function
b0b32959
sbucaille refactor: add and use intermediate_size attribute in config to inheri…
a3f94d58
sbucaille refactor: use can_return_tuple decorator in LightGlue model
8b5991a8
sbucaille fix: make fix-copies
e24014d7
sbucaille docs: Update model references in `lightglue.md` to use the correct pr…
c693c547
sbucaille Refactor LightGlue configuration and processing classes
88048f03
sbucaille refactor: removed Conv layers from init_weights since LightGlue doesn…
7bca51fb
sbucaille refactor: simplify LightGlue image processing tests by inheriting fro…
87618ace
sbucaille test: forced eager attention implementation to LightGlue model tests
bb60d255
sbucaille refactor: update LightGlue model references
d9140958
sbucaille fix: import error
b7bae3cd
sbucaille test: enhance LightGlue image processing tests with setup method
fe3d6e76
sbucaille refactor: added LightGlue image processing implementation to modular …
5eab8c4c
sbucaille refactor: moved attention blocks into the transformer layer
2aeff710
sbucaille sbucaille force pushed from 97dc664e to 2aeff710 236 days ago
sbucaille fix: added missing import
0e4dac66
sbucaille
sbucaille fix: added missing import in __all__ variable
d2c242c2
Cyrilvallez
Cyrilvallez approved these changes on 2025-06-17
sbucaille doc: added comment about enforcing eager attention because of SuperPoint
347b5dce
sbucaille refactor: added SuperPoint eager attention comment and moved function…
a7bb4a86
sbucaille
Cyrilvallez
Cyrilvallez approved these changes on 2025-06-17
Cyrilvallez Cyrilvallez merged e5a9ce48 into main 235 days ago
qubvel
sbucaille sbucaille deleted the add_lightglue branch 235 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone