Open huwjenkins opened 3 years ago
Thanks for pointing this out. It should be fixed, but won't cause any problems other than the annoying warning.
Thanks for confirming it doesn't cause any problems! Fortunately the warning is only printed the first time it happens.
Hi,
I see the following message printed to stderr when training.
RuntimeWarning: overflow encountered in exp
. This is reproducible with Topaz 0.2.4 on the test dataset.Using
numpy.seterr
identifies this occurs here for scores < -88.7228 as then np.exp(-score) overflows float32.https://github.com/tbepler/topaz/blob/11f7ecbdfedfd4820199d43571059de61748c17d/topaz/commands/train.py#L539
Is this an issue? Thanks.