piEsposito / blitz-bayesian-deep-learning

A simple and extensible library to create Bayesian Neural Network layers on PyTorch.
GNU General Public License v3.0
918 stars 107 forks source link

Added a small number to fix numeric problems in the log_prior #90

Closed donhauser closed 2 years ago

donhauser commented 3 years ago

This should fix problems like in issue #82

My choice of 1e-6 is rather arbitrary, smaller numbers will probably work as well