![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python bug
Joey Chen&Wpl
IT
展开
-
_, term_width = os.popen(r‘stty size‘, ‘r‘).read().split()
Traceback (most recent call last): File "D:/master/ml-capsules-inverted-attention-routing-master/main_capsule.py", line 19, in <module> from utils import progress_bar File "D:\master\ml-capsules-inverted-attention-routing-master\utils.py", l.原创 2021-09-26 09:37:19 · 2851 阅读 · 2 评论 -
BrokenPipeError: [Errno 32] Broken pipe
这个问题一般跟Datalaod有关,在windows下,把numworks设为0原创 2021-09-26 09:25:20 · 219 阅读 · 0 评论 -
AttributeError: can‘t set attribute
Traceback (most recent call last): File "D:/master/Multi-level-DCNet-master/3leveldcnet.py", line 342, in <module> routings=args.routings) File "D:/master/Multi-level-DCNet-master/3leveldcnet.py", line 60, in MultiLevelDCNet conv, nb_fil...原创 2021-09-15 10:47:00 · 758 阅读 · 0 评论 -
【Windows10】BrokenPipeError: [Errno 32] Broken pipe
1、不可使用多线程2、将Dataload中的num_works设置为0原创 2021-06-25 16:59:13 · 146 阅读 · 0 评论 -
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=‘localhost‘, port=8097): Max retries excee
使用visdom后,出现以下问题:requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8097): Max retries exceeded with url: /env/main (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000027F8769B7F0>: Failed原创 2021-04-30 10:47:34 · 4540 阅读 · 2 评论 -
failed to create cublas handle: CUBLAS_STATUS_ALLOC_FAILED
出现这样的问题,有以下几种情况:1)你所选用的显卡正在被占用2)你所选用的显卡划分的比例不对,相当于灾备占用原创 2021-04-19 16:55:48 · 196 阅读 · 0 评论 -
python 模块安装好,但是却无法引用
我遇到之后:有可能是pip的版本太低;更新一下pippython -m pip install -upgrade pip原创 2021-04-13 16:39:37 · 1391 阅读 · 0 评论 -
multiprocessing.pool.MaybeEncodingError
multiprocessing.pool.MaybeEncodingError: Error sending result: '<multiprocessing.pool.ExceptionWithTraceback object at 0x000000000B5D6EC8>'. Reason: 'PicklingError("Can't pickle <class 'MemoryError'>: it's not the same object as builtins.Memor.原创 2021-04-09 22:07:30 · 2067 阅读 · 0 评论 -
DEPRECATION: Could not build wheels for faiss-cpu, faiss-cpu which do not use PEP 517. pip will fall
faiss-cpu gpu windows不支持,linux和mac支持,且仅支持cuda9.0及以上原创 2021-03-31 20:18:43 · 1184 阅读 · 0 评论 -
Could not fetch URL https://pypi.org/simple/scikit-learn/: There was a problem confirming the ssl ce
应该是网络的原因python -m pip install --upgrade pip -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.compip install xxx -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.comxxx 代表你要下载的包-i 后面代表数据源http://mirrors.aliyun.com/pypi...原创 2021-03-31 14:59:47 · 455 阅读 · 0 评论 -
cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-6sxsq0tp\opencv\module
出现这种情况有两种一下情况:1、保存的路径中含有中文符号2、路径错误,找不到该路径下的文件。或者该路径不存在原创 2021-03-26 14:57:08 · 3623 阅读 · 0 评论