hagabbar / vitamin_c

This will be the first official public release of the VItamin code base. VItamin is a python package for producing fast gravitational wave posterior samples.
GNU General Public License v3.0
20 stars 7 forks source link

Training NaNs #56

Open hagabbar opened 4 years ago

hagabbar commented 4 years ago

Describe the bug During training, if the model has been running a long time it will occasionally return NaNs. I suspect this is related to the SMALL_CONSTANT variable in CVAE_model.py.

hagabbar commented 4 years ago

Could also happen when there is a 0*log(0) expression in the model.