![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程
wanglei1006
这个作者很懒,什么都没留下…
展开
-
UnicodeDecodeError pickle
dd = pickle.load(open(fname_or_dict))Q: UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 0: illegal multibyte sequenceA:with open(fname_or_dict, 'rb') as f: dd = pickle.load(f, encoding='latin1')reason: pytho...原创 2020-05-28 12:25:53 · 214 阅读 · 0 评论 -
linux系统下查看 显卡 信息
linux系统下查看 显卡 信息命令:lspci |grep -i vga如果是Nvidia显卡1、基本命令:nvidia-sminvidia-smi(The Nvidia System Management Interface)是Nvidia显卡命令行管理套件,基于NVML(Nvidia Management Library)库,旨在管理和监控Nvidia GPU原创 2017-05-11 17:32:54 · 51421 阅读 · 0 评论 -
/usr/bin/ld: cannot find -lxxx
/usr/bin/ld: cannot find -lcufft/usr/bin/ld: cannot find -lnpps/usr/bin/ld: cannot find -lnppi/usr/bin/ld: cannot find -lnppc/usr/bin/ld: cannot find -lcudart建立软连接 sudo ln -s /原创 2017-05-24 16:38:05 · 674 阅读 · 0 评论 -
远程桌面关闭后如何恢复原会话连接
学习ubuntu远程桌面(二):远程桌面会话管理 一、问题描述 在我们使用ubuntu远程桌面时,会经常遇到这样的问题。在连接远程桌面时,我打开的是会话A,我在会话A下处理一些工作的事情。由于自己不小心把这个远程桌面给关闭了,或者今天工作完毕关闭该远程桌面会话。等再进行连接远程桌面时,发现ubuntu会给出一个新的远程桌面会话B,而不是我们刚刚连接过的那个会话A,或者是昨天连接的那个会话A。以上转载 2017-05-05 18:08:40 · 13612 阅读 · 0 评论 -
Ubuntu系统Spyder运行时kernel died问题
问题:'It seems the kernel died unexpectedly. Use 'Restart kernel' to continue using this console.'解决:conda install nomkl numpy scipy scikit-learn numexprconda remove mkl mkl-serviceAnaconda原创 2017-05-05 19:17:56 · 1758 阅读 · 0 评论 -
caffe训练中create image数据产生的bug
caffe训练中create image数据产生多个bug问题1、could not find or open file ... xxxxx.JPEG 1解决:制作label过程中,xxxxx.JPEG 与 标签之间用 空格 ‘ ’,不要用'\t'问题2、mkdir .........lmdb failed解决:删除上次产生的lmdb文件,将执行命令路径切换到原创 2017-05-09 17:03:54 · 474 阅读 · 0 评论 -
Linux下安装OpenCV 时CMake error
问题CMake Error: The source directory "/home/wanglei/Program/opencv-3.4.0/build/CMAKE_INSTALL_PREFIX=/home/wanglei/Program/opencv-3.4.0" does not exist.命令wanglei@ubuntu:~/Program/opencv-3.4.0/build$ cma...原创 2018-06-07 15:54:52 · 6588 阅读 · 4 评论 -
Cython编译问题__ImportError: dynamic module does not define init function
问题:Cython compiled C extension: ImportError: dynamic module does not define init function解决:在.pyx文件开始增加STUFF = "Hi"It appears if there is no global initialization (acinitor setting a ...原创 2019-04-08 16:46:05 · 2054 阅读 · 0 评论 -
找不到 nsync_cv.h 问题
问题:fastRCNN编译过程中出现lib/python2.7/site-packages/tensorflow/include/tensorflow/core/platform/default/mutex.h:25:22: fatal error: nsync_cv.h: No such file or directory解决:在mutex.h文件中 修改为以下...原创 2019-04-08 17:14:19 · 214 阅读 · 0 评论 -
tensorflow.python.framework.errors_impl.NotFoundError
问题:tensorflow.python.framework.errors_impl.NotFoundError: /home/wanglei/Program/TensorFlowang/TFFRCNN/lib/roi_pooling_layer/roi_pooling.so: undefined symbol: _ZTIN10tensorflow8OpKernelE解决:...原创 2019-04-09 10:05:09 · 1785 阅读 · 3 评论 -
Ubuntu终端常用命令
学习备用转自:http://blog.csdn.net/yuexianchang/article/details/51730085文件目录类1.建立目录:mkdir 目录名2.删除空目录:rmdir 目录名3.无条件删除子目录: rm -rf 目录名4.改变当前目录:cd 目录名 (进入用户home目录:cd ~; 进入上一级目录:cd -)5.查看自己所在目录:pwd6.查转载 2016-12-18 22:40:09 · 375 阅读 · 0 评论 -
ubable to locate package java
参考:http://stackoverflow.com/questions/25289482/installing-jdk8-on-ubuntu-unable-to-locate-package-update-doesnt-fixUbuntu安装java时,出现错误:ubable to locate package java解决方法:sudo apt-g原创 2016-12-25 12:24:22 · 420 阅读 · 0 评论 -
Matlab R2014a使用 mcc编译出错的问题
Matlab R2014a使用mcc编译lib文件时出错,Error: Could not check out a Compiler license: SIGN= keyword required but missing from the license certificate. This is probably because the license is older than原创 2016-05-06 13:41:01 · 8886 阅读 · 4 评论 -
虚拟机窗口不能调整大小如何解决?
原来虚拟机安装了Ubuntu,窗口可以自适应调整大小的,后来重装ubuntu之后又不能了,解决办法:一、设置若提示无法手动启动vmware tools安装,关ubuntu添加软盘驱动器菜单---设置---硬件--软盘-- 选择“自动检测” CD/DVD使用ISO映像文件“D:\Program Files\VMw原创 2016-10-26 09:47:18 · 7280 阅读 · 0 评论 -
Matlab GUI设计
Matlab设计图形用户界面设计的比较简易,通过修改对象属性代码等可以更精细。function varargout = Guide2(varargin)% GUIDE2 MATLAB code for Guide2.fig% GUIDE2, by itself, creates a new GUIDE2 or raises the existing% single原创 2016-11-10 18:05:48 · 940 阅读 · 0 评论 -
C++函数模板template
本文介绍函数模板template。简单的说,函数模板的作用是减少不同数据类型但实现相同功能的函数的重复定义。转载原文地址:http://www.weixueyuan.net/view/5853.html参数化程序设计——通用的代码就必须不受数据类型的限制,可以把数据类型改为一个设计参数。这种类型的程序设计称为参数化(parameterize) 程序设计。这种设计由模板(templa转载 2015-09-09 10:40:56 · 1016 阅读 · 0 评论 -
C++多态,重载
多态(polymorphisn)可以简单地概括为“一个接口,多种方法”,程序在运行时才决定调用的函数,它是面向对象编程领域的核心概念。封装可以使得代码模块化,继承可以扩展已存在的代码,他们的目的都是为了代码重用。而多态的目的则是为了接口重用。也就是说,不论传递过来的究竟是那个类的对象,函数都能够通过同一个接口调用到适应各自对象的实现方法。静态多样性就是在编译时期确定函数的调用关原创 2016-11-17 15:21:37 · 416 阅读 · 0 评论 -
Matlab显示图像三维信息
Matlab显示图像三维信息im1=imread('lena.bmp');mesh(double(im1));colormap gray原创 2016-11-14 15:30:38 · 9556 阅读 · 0 评论 -
Matlab函数句柄调用图像K均值分类
function varargout = guideTemp2(varargin)% GUIDETEMP2 MATLAB code for guideTemp2.fig% GUIDETEMP2, by itself, creates a new GUIDETEMP2 or raises the existing% singleton*.%% H = GUID原创 2016-11-15 16:17:10 · 1295 阅读 · 0 评论 -
ubuntu14.04下配置使用openCV3.0
转发 自 http://www.cnblogs.com/lyutian/p/4425956.html[操 作 系 统] Ubuntu 14.04 LTS[OpenCV版本] 3.0.0-beta[Eclipse 版 本] 3.8.1需要知识:Linux系统shell命令基础编译原理基础知识,预编译->编译->汇编->链转载 2016-12-18 21:14:53 · 1559 阅读 · 0 评论 -
ubuntu 出现GPG Error的问题
ubuntu 系统sudo apt-get update错误提示:gpg error the public key is not available no_pubkey 5523BF*********在我们系统上无法获取public key ,所以需要导入该public key 解决办法:sudo apt-key adv --keyserver keys原创 2016-12-25 11:11:04 · 1898 阅读 · 2 评论 -
matConvnet编译
matConvnet编译注意说明:% The following configurations have been tested successfully:%% * Windows 7 x64, MATLAB R2014a, Visual C++ 2010 and CUDA Toolkit% 6.5 (unable to compile with Visual原创 2016-05-15 08:11:04 · 387 阅读 · 0 评论