![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
遇到的问题
马飞飞
乐于分享,痴迷技术
展开
-
跑程序遇到load_weight未定义skip_mismatch关键字、no attributu 'leaky_relu'两个报错
源头事情的开始是这样的: 想要跑一个yolo v3的baseline程序,但是使用服务器上的环境总是跑不通,服务器环境为 tensorflow gpu==1.3,keras==2.1.1。问题在跑程序时候老是遇到两个问题,第一个问题是 “AttributeError: module ‘tensorflow.python.ops.nn’ has no attribute ‘leaky_...原创 2019-02-24 02:58:41 · 1571 阅读 · 0 评论 -
安装xgboost遇错xgboost.libpath.XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path
问题安装好xgboost,但是在跑程序时遇到如下的报错情况解决方案1.在链接http://www.picnet.com.au/blogs/guido/2016/09/22/xgboost-windows-x64-binaries-for-download/中下载最新版本的xgboost.dll.2.根据提示将下载的xgboost.dll放置到C:\Users\Adminis...原创 2018-10-16 11:35:54 · 8104 阅读 · 6 评论 -
pip安装东西,遇到问题retry(toal=4,connect=None, read=None, redirect=None, status=None)) after
问题pip安装东西时遇到如下的问题:Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSCon...原创 2018-10-05 22:25:52 · 3511 阅读 · 1 评论 -
遇到报错AttributeError: 'itertools.cycle' object has no attribute 'next'
问题我在写下面的程序时,遇到报错提示AttributeError: 'itertools.cycle' object has no attribute 'next'menu_options = (('Say Hello', icons.next(), hello), ('Switch Icon', None, switch_icon), ...原创 2018-10-04 22:16:57 · 2534 阅读 · 1 评论 -
pandas中使用sort_values函数排序不成功的问题。
问题:遇到排序问题,使用下面的语句对pandas的某列进行排序时,发现根本没排序成功。bada_air.sort_value(by='time',ascending=False)解决方案:这里牵扯到很重要的参数inplace,默认的inplace设置是False,并没有对本体进行覆盖,所以解决方法有两个:1.设置本体覆盖,令inplace=Truebada_air.sort_v...原创 2018-08-27 16:49:05 · 15264 阅读 · 6 评论 -
安装seq2seq遇到Could not find a version that satisfies the requirement recurrentshop 解决方案
1.管理员模式进入cmd,之后运行下面的命令git clone https://www.github.com/datalogai/recurrentshop.gitcd recurrentshoppython setup.py install2.安装seq2seqpip install git+https://github.com/farizrahman4u/seq2seq.g...原创 2018-08-16 11:01:13 · 1891 阅读 · 1 评论 -
安装seq2seq时遇到问题:git was not found, check that it is installed and in your PATH env.
原因分析:自己之前没有安装git,所以这里要安装好git,之后再使用下面的语句安装即可。pip install git+https://github.com/farizrahman4u/seq2seq.git解决方案:1.此处下载gitWindows:https://git-for-windows.github.io2.根据这里的指导安装好git:https://jingyan....原创 2018-08-16 10:44:34 · 3357 阅读 · 1 评论 -
搭建工作环境系列(2) - 安装ubuntu虚拟环境
1.需要工具:VMware软件()、ubuntu 16镜像。VMware地址:https://my.vmware.com/cn/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_02.安装过程在:https://jingyan.baidu.com/article/86112f135e584...原创 2018-08-12 19:25:45 · 199 阅读 · 0 评论 -
搭建工作环境系列(1) - 安装win10系统
一.下载win10镜像1.找到适合自己电脑版本的win10镜像文件,如在win10之家(http://win10.2shouhuo.net/)进行下载。.2.下载得到对应的iso文件,如我这里是使用之前下载的镜像。二.制作工具盘准备:一个内存8G及以上的U盘(保存U盘数据,因为会清空)1.下载老毛桃装机工具UEFI版本(http://www.laomaotao.org/...原创 2018-08-12 18:50:05 · 470 阅读 · 0 评论 -
ImportError: No module named '_tkinter'
ubuntu 16系统下,导入matplotlib模块,遇到报错:ImportError: No module named '_tkinter'。因为ubuntu系统不自带_tkinter模块,需要在python中进行安装,安装命令为:sudo apt-get install python-tk...原创 2018-04-01 12:45:47 · 411 阅读 · 0 评论 -
提示"UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 205: illegal multibyte sequenc
python读取pkl文件时提示"UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 205: illegal multibyte sequence"原程序为:import picklef = open('C:/Users/Administrator/Desktop/preprocessing.pkl')info...原创 2018-03-30 20:56:22 · 23356 阅读 · 0 评论 -
Eclipse 中打开图片乱码的问题
问题描述: 打开drawable中的png和jpg格式的文件,发现无法进行图片的查看,而会出现乱码的问题。解决方案:1. 打开 windows -> preferences->General->Editors->File Associations2. 点击file types选取*.9.png , Associated editors 中选择Add,3. Add中选取Extern原创 2017-03-31 14:20:15 · 2826 阅读 · 0 评论