python
its_Mayday
这个作者很懒,什么都没留下…
展开
-
numpy.core._exceptions.MemoryError: Unable to allocate 865. MiB for an array with shape (10600, 1069
内存溢出问题numpy.core._exceptions.MemoryError: Unable to allocate 865. MiB for an array with shape (10600, 10697) and data type float64问题分析:报错里面说, 问题在futures_base.py,因此怀疑问题在多线程中,因为多线程会导致结果堆叠,因此导致numpy报错。问题解决:在多线程函数中,限制最大线程不超过2问题解决啦!...原创 2021-10-01 00:12:14 · 9360 阅读 · 2 评论 -
安装opencv-python时卡在 running setup.py bdist_wheel for opencv-python
两个原因:pip需要升级。解决=>命令行输入:python -m pip install --upgrade可能真是卡住了。那就慢慢等吧~或者多试几次,总能解决原创 2021-08-08 16:00:33 · 2110 阅读 · 1 评论