-
Notifications
You must be signed in to change notification settings - Fork 105
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
Adding basic CI and fixing minor problems #17
Conversation
Create python-tests.yml Adding ceres and eigen dependencies Adding coverage Adding parameterized Fixing GPU torch problems Avoiding explicit transfer of the model to CUDA Adding tests for eval utils and standardizing the batched/non-batched behaviour (only tested with homographies) Testing failures in pytest Fixing dummy test Removing MishaKav/pytest-coverage-comment Fixing problems in MegaDepth evaluation Fixing division by 0 and converting function to torch Fixing lint errors Fixing isort errors
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.
Only one comment left, LGTM otherwise - thanks a lot!
tests/test_integration.py
Outdated
@@ -0,0 +1,133 @@ | |||
import logging |
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.
Remove unused import
Thanks for the review Paul! It is very cool that we have automatic tests, I will sleep better now 😅 |
* Adding integration tests Create python-tests.yml Adding ceres and eigen dependencies Adding coverage Adding parameterized Fixing GPU torch problems Avoiding explicit transfer of the model to CUDA Adding tests for eval utils and standardizing the batched/non-batched behaviour (only tested with homographies) Testing failures in pytest Fixing dummy test Removing MishaKav/pytest-coverage-comment Fixing problems in MegaDepth evaluation Fixing division by 0 and converting function to torch Fixing lint errors Fixing isort errors * Addressing PR comments * Addressing second round of PR comments
This PR contains integration tests that check that LG and GS keep working and also fix some minor bugs:
conf
parameter fromeval_matches_homography
eval_matches_homography
,eval_homography_robust
,eval_homography_dlt
.cuda()
in the lightglue_pretrained constructorPlease check the code and just let me know if you agree with these changes 😃