PyTorch implementation of normalizing flow models
ConditionalNormalizingFlow
addressing the issues #9 and #41forward_and_log_det
method, that has recently been introducedA rendered documentation is added to the repository, which is available on https://vincentstimper.github.io/normalizing-flows/.
Test were added for several flow modules, which can be run via pytest
. With these new tests, several bugs were detected and fixed. The current coverage is about 61%. More tests will be added in the future as well as automated testing and coverage analysis on GitHub.
Moreover, the code is adapted to the syntax of newer PyTorch Versions.
The package is now available on PyPI, which means that it can just be installed with
pip install normflows
from now on. The code was reformatted to conform to the black
coding style.
Moreover, the following fixes and additions are included:
The code was reorganized to be more hierarchical and readable. Also all required functionality for Neural Spline Flows were added to the repository to remove the dependency on the original Neural Spline Flow repository.
Furthermore, the following features were introduced: