
常见问题
闲云野鹤01
沟通邮箱xiaosongcsdn@163.com
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
pycharm IDEA启动报错
Internal error. Please report to http://jb.gg/ide/critical-startup-errors java.lang.IllegalStateException: failed to create a child event loop at io.netty.util.concurrent.MultithreadEventExecut...原创 2019-10-22 15:51:50 · 3275 阅读 · 2 评论 -
could not find a writer for the specified extension in function 'imwrite_'
# -*- coding:utf-8 -*-import cv2#读取照片img = cv2.imread("img.bmp")#显示图片cv2.imshow("Dome",img)#窗体名字,照片#等待显示cv2.waitKey(0)cv2.destroyAllWindows()#保存图像cv2.imwrite("image",img)解决方法:cv2.imwr...原创 2019-08-04 08:56:21 · 19178 阅读 · 3 评论 -
GitHub克隆下载代码速度慢解决办法
这几天克隆下载GitHub代码奇慢无比,网上搜索了一下解决方案有些不太完整,自己试验出了比较完整的解决方式:1、在hosts文件里追加以下内容(IP需要替换掉),以下5个域名一个都不要少,有些文章只写了一部分,我一开始就少了个github.com,结果速度就还是很慢。vim /etc/hosts151.101.109.194 github.global.ssl.fastly.net1...原创 2019-07-25 12:00:37 · 2652 阅读 · 1 评论 -
ResourceExhaustedError (see above for traceback): OOM when allocating tensor of shape [9216,4096] an
ResourceExhaustedError (see above for traceback): OOM when allocating tensor of shape [9216,4096] and type floa [[Node: training/Modified_SGD/zeros_8 = Const[dtype=DT_FLOAT, value=Tensor<typ...原创 2019-05-16 16:02:26 · 4095 阅读 · 0 评论 -
ImportError: cannot import name binary_accuracy
查看 pip list 是否存在 sklearn如果不存在 安装一下pip install sklearn问题解决原创 2019-05-11 10:59:32 · 967 阅读 · 0 评论 -
ImportError: cannot import name downsample
ImportError: cannot import name downsample根据提示目录打开并编辑 pool,py 文件将from theano.tensor.signal.pool import downsample 注释到即#from theano.tensor.signal.pool import downsample并添加from theano.tensor...原创 2019-05-11 10:52:44 · 1145 阅读 · 0 评论 -
ImportError: No module named lasagne
导包错误,进行安装pip install lasagen问题解决原创 2019-05-11 10:47:31 · 1872 阅读 · 0 评论 -
ImportError: No module named theano
导入 theano包出错,没有安装,进行安装pip install theao问题解决原创 2019-05-11 10:43:55 · 2856 阅读 · 1 评论 -
ImportError: Could not import the Python Imaging Library (PIL) required to load image files
解决方法: 缺少 pillow包,进行安装pip install pillow问题解决原创 2019-05-11 10:34:39 · 2165 阅读 · 0 评论 -
SyntaxError: Non-ASCII character '\xe6' in file main.py on line 15, but no encoding declared; see ht
原因:python的默认编码文件是用的ASCII码,而你的python文件中使用了中文等非英语字符。打开报错的程序在程序的开头加上:# coding=UTF-8原创 2019-05-15 18:49:36 · 1978 阅读 · 0 评论 -
Anaconda不同版本python环境的安装及切换
通过如下命令查看当前已经装好的python环境conda info -e此时会显示安装所有python版本通过python -V 查看当前所处的版本以已经安装好了anaconda3,即已经有了python3.x环境为例,现在要安装python2.x环境,命令如下#创建一个名为python27的环境,指定Python版本是2.7(不用管是2.7.x,conda会为我...原创 2019-05-07 12:52:29 · 7251 阅读 · 1 评论 -
ValueError: numpy.ufunc has the wrong size, try recompiling
解决方法:重新安装numpy pip uninstall numpypip install pandas安装pandaspip install pandas原创 2019-05-14 18:22:53 · 1851 阅读 · 0 评论 -
Xshell 过期解决方法
解决方法1:Xshell打开成功解决方法2:原创 2019-03-17 21:02:52 · 25923 阅读 · 11 评论