
报错锦集
XINGGUOGUO_2020
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ValueError: Unknown initializer: GlorotUniform
原因:tensorflow.python.keras和keras同时出现在项目中,将其统一为其中一个版本即可。原创 2019-12-04 11:23:32 · 2106 阅读 · 1 评论 -
keras错误:’ProgbarLogger‘ no attribute ’log_values‘
在使用keras(Tensorflow后端)跑yolo v2时,报的错误,1 该错误出现位置在训练函数fit_generator()中model.fit_generator(generator = train_batch, steps_per_epoch = len(train_batch), ...原创 2019-03-29 15:47:47 · 2168 阅读 · 0 评论 -
UnboundLocalError: local variable 'photoshop' referenced before assignment
问题:Pillow 版本为 6.0.0时报错解决:我将Pillow版本改为 低于 5.4.1,这个问题就解决了原创 2019-04-16 15:09:56 · 1611 阅读 · 1 评论 -
pip install package时,报UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xb6 in position 32: inval
pip install package时,报UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xb6 in position 32: invalid start byte解决方案:将venv/Lib/site-packages/pip-9.0.1-py3.6.egg/pip/compat/init.py中,第75行的return s.dec...原创 2019-05-13 11:35:34 · 979 阅读 · 0 评论 -
pip install pydensecrf报错,填坑
环境:python3.6.5/pycharm/win10报错:Building wheels for collected packages: pydensecrf Running setup.py bdist_wheel for pydensecrf ... error Complete output from command D:\AllProject\SemanticSegme...转载 2019-05-13 13:22:41 · 7133 阅读 · 5 评论 -
scipy.misc.imsave ImportError: cannot import name 'imsave'
解决方案:1 scipy.misc.imsave是需要安装pillow包,若没有安装pillow,先安装pip install pillow 2 若安装后,还报此错误,即scipy版本问题,高版本没有imsave、imread等。降版本到1.2.1以下即可。...原创 2019-07-09 15:47:59 · 3758 阅读 · 1 评论 -
ResourceExhaustedError的本质原因及解决方式
背景:跑一个lenet模型,数据集没选用keras自带的手写数字图像,而是选择(224,224,3)维的较大像素图像。报错:ResourceExhaustedError: OOM when allocating tensor with shape[200704,1024]Hint: If you want to see a list of allocated tensors when...原创 2019-08-20 15:04:11 · 5496 阅读 · 0 评论 -
Failed to load the native TensorFlow runtime.
原因:cuda版本与tensorflow-gpu的版本不匹配导致的原创 2019-08-27 11:48:50 · 229 阅读 · 0 评论 -
Data loss: not an sstable (bad magic number)
报错:tensorflow.python.framework.errors_impl.DataLossError: Unable to open table file /home/wpq/data/model.ckpt.data-00000-of-00001:Data loss: not an sstable (bad magic number): perhaps your file is ...原创 2019-09-06 13:43:32 · 8793 阅读 · 11 评论