Commit Graph

3 Commits (692c72f94c8f58976649faf3883b711d59cf6b1e)

Author SHA1 Message Date
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