pylandscape is a Pytorch library for loss landscape analysis of neural networks. The library enables computing the following metrics:
NOTE: All the functionalities relative to the computation of the Hessian metrics have been embedded via PyHessian. If your interested in learning more about how these metrics are computed have a look to their Repository.
You can install the library from pip:
pip install pylandscape