'invalid value encountered in double_scalars' warning, possibly numpy

前端 未结 7 1304
一向
一向 2020-12-03 09:34

As I run my code I get these warnings, always in groups of four, sporadically. I have tried to locate the source by placing debug messages before and after certain statement

7条回答
  •  心在旅途
    2020-12-03 10:14

    It looks like a floating-point calculation error. Check the numpy.seterr function to get more information about where it happens.

提交回复
热议问题