Commit Graph

4 Commits (aa7727675e4ca6d86671df2df7c9b6553e2071c9)

Author SHA1 Message Date
Iago Suárez aa7727675e
Adding basic CI and fixing minor problems (#17)
* 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
2023-10-18 10:09:58 +02:00
Philipp Lindenberger 22154a60bc
Check for model initialization in eval (#9)
* Check for model initialization during eval

* Change from warning to assert

* change assertion to ValueError

* fix isort and rename are_weights_initialized

* cleanup set_initialized()

* fix variable name bug

* Make load_state_dict forward compatible

Co-authored-by: Paul-Edouard Sarlin <15985472+sarlinpe@users.noreply.github.com>

* Remove unused imports

---------

Co-authored-by: Paul-Edouard Sarlin <15985472+sarlinpe@users.noreply.github.com>
2023-10-10 19:46:33 +02:00
Paul-Edouard Sarlin 12640afd36
Auto sort imports (#6)
* Add isort, merge check runs into one

* Run isort

* Ignor build in flake8 config

* Remove jupyter as dev dependency
2023-10-09 08:32:43 +02:00
Rémi Pautrat 55c4fbd454 Initial commit
Co-authored-by: Philipp Lindenberger <phil.lindenberger@gmail.com>
Co-authored-by: Iago Suárez <iago_h92@hotmail.com>
Co-authored-by: Paul-Edouard Sarlin <paul.edouard.sarlin@gmail.com>
2023-10-05 17:03:43 +02:00