【发布时间】:2021-10-25 08:07:38
【问题描述】:
在 imageai-detector 中调整图像大小 /usr/local/lib/python3.6/site-packages/imageai/Detection/Custom/init.py:1234: RuntimeWarning:exp 中遇到溢出 返回 1. / (1. + np.exp(-x))
我不断收到此警告,似乎与 init.py 中的此函数有关:
@staticmethod
def _sigmoid(x):
return 1./(1. + np.exp(-x))
我们可以期待这个模块的一些更新,还是可以修复它?直接忽略?
PYTHON_VERSION=3.6.0 tensorflow-gpu==1.13.1 keras==2.2.4
【问题讨论】:
-
你能正确解释问题是什么吗?我的意思是你想要达到的目标。
-
我有一个来自 imageai.Detection.Custom 的
detector = CustomObjectDetection(),它使用detectObjectsFromImage对图像进行预测(自定义 YoloV3 模型,经过训练可检测车牌) .检测器运行平稳,但我不断收到此警告..
标签: python tensorflow imageai