- 博客(62)
- 资源 (1)
- 收藏
- 关注
原创 undefined reference to `PyUnicodeUCS2_FromEncodedObject'
编译SSD版caffe的python接口,出现以下问题 .build_release/lib/libcaffe.so: undefined reference to `PyUnicodeUCS2_FromEncodedObject’网上查了下相关的资料,最后在python文档中找到了这个问题 https://docs.python.org/2/faq/extending.html#can-...
2018-08-23 13:04:58
2038
1
原创 quadmath.h: No such file or directory yum install
问题:quadmath.h: No such file or directory解决方法sudo yum -y install libquadmath-devel
2018-08-18 14:58:48
2297
原创 NetBeans打包生成exe
为了可移植性,标注工具一直用的java的,但是有些人在windows配置java搞不定,还出现版本问题,于是就打算生成个exe版本的,下面记录下NetBeans打包生成exe过程。安装Inno Setup。Inno Setup配置环境变量,在cmd下敲入iscc.exe,如果找到了即可。在【项目属性】窗口中,选择【部署】类别,然后选取【在项目中启动……】项目右键选择打包为exe,即可生
2018-01-27 14:54:35
2099
原创 win10自带linux+caffe安装记录
win10自带linux+caffe安装记录公司的server环境都是配好的,mac用brew装也非常方便,因为不能用vpn,要写测试工程,只能用自己的破win10装了,一上午可算捣鼓好了,现在记录一下安装记录。(没装GPU,只是用CPU)一、win10安装linux在win10的应用商店搜索linux,会出来ubuntu的应用,安装就好了,具体网上很多,搜一下就好了二、换
2018-01-13 13:03:04
1165
原创 Linux常用命令
命令行移动删除相关向前移动一个单词alt f 向后移动一个单词alt b 移动至行首ctrl a 移动至行尾ctrl e 终端删除整行 ctrl u 终端删除一个单词ctrl w 清屏ctrl l进程查看某个用户的进程top -u用户名 ps -u用户名硬件相关查看磁盘空间df -H 查看内存free -m GPUnvidia-smi删除大小
2017-12-31 23:07:42
295
原创 Linux下编译caffe报错catastrophic error: error while writing generated C++ file: No space left on device
catastrophic error: error while writing generated C++ file: No space left on device,但是查看内存和存储都够。解决方法:mkdir $HOME/tmpexport TMPDIR=$HOME/tmp
2017-12-23 09:41:29
939
原创 Linux下编译caffe报错catastrophic error: error while writing generated C++ file: No space left on device
catastrophic error: error while writing generated C++ file: No space left on device,但是查看内存和存储都够。解决方法:mkdir $HOME/tmpexport TMPDIR=$HOME/tmp
2017-12-23 09:41:20
714
原创 pip install opencv-python遇到的错误
Found existing installation: numpy 1.8.0rc1 DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. This is due to the fact tha
2017-12-19 13:11:12
23285
22
原创 Win10+VS2012集成OpenCV库
一、下载安装OpenCV在OpenCV官网下载2.4.9并安装二、VS2012集成OpenCV库新建工程,在源文件下添加main.cpp 修改工程为DEBUG,x64 选择属性管理器,右键Debug|x64,选择属性 在VC++目录选项中修改包含目录和库目录 在连接器/输入选项中添加依赖项(一般对于刚接触cv的这三个库基本够了) 将1.jpg放入工程内,在main.cpp中敲入#inc
2017-12-17 12:21:39
310
原创 CMake错误No CMAKE_CXX_COMPILER could be found.
No CMAKE_CXX_COMPILER could be found
2017-12-16 14:40:56
67248
15
原创 Python错误AttributeError: 'module' object has no attribute 'copy'
Traceback (most recent call last): File “/Users/fujikoli/scripts/test.py”, line 40, in import matplotlib.pylab as plt File “/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/l
2017-12-14 19:43:20
9135
原创 caffe问题Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: Python
caffe中输入层使用python时,出现问题:Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: Python解决方法:在caffe目录下Makefile.config中,把WITH_PYTHON_LAYER := 1的注释去掉就OK了。
2017-12-06 14:59:14
1027
原创 caffe输入层问题AttributeError: 'RoIDataLayer' object has no attribute 'param_str_'
在caffe输入层用python时,出现下面的问题:Traceback (most recent call last): File “./tools/train_net.py”, line 112, in max_iters=args.max_iters) File “/data1/user/fujikoli/train_proj/tools/../lib/fast_rcnn
2017-12-06 14:42:07
3068
4
原创 Python错误IndentationError: unexpected indent
IndentationError: unexpected indent这个问题是缩进问题报这个错时,发现缩进什么也没问题。因为文件是从mac拷到windows再编辑的,我一细检查,mac上的缩进在windows全部变成了4个空格,而我又加的代码是用的缩进,因为python只允许一个代码块中缩进和4空格两者存在一种,所以要细心了!
2017-11-18 10:30:35
1296
原创 Win10环境下Python入门(一)Python及IDE安装
工作中为其他同事做了一个关于python脚本的一个入门ppt,在此记录下。
2017-11-17 23:04:32
16145
1
原创 mac下文件不能放入U盘问题
在mac下,文件拉不进去,抹掉也不行,发现是windows下NTFS格式,在mac上是只读的,也不能格式化,最后我在windows下给u盘格式成FAT格式后OK了,好像mac上有辅助工具可以格式化NTFS的。
2017-11-14 14:38:58
5205
原创 mac下caffe编译中的错误
No receipt for ‘com.apple.pkg.CLTools_Executables’ found at ‘/’. /bin/sh: line 0: [: -gt: unary operator expected /bin/sh: line 0: [: -gt: unary operator expected PROTOC src/caffe/proto/caffe.proto
2017-11-14 09:23:52
3153
原创 mac下caffe的安装
mac下caffe的安装一、安装好brew和OpenCV(2.4.13)可以google一下,网上很多。二、安装一些第三方依赖的库brew install -vd snappy leveldb gflags glog szip lmdbbrew install hdf5brew install protobuf boost三、下载caffegit clone h
2017-11-13 21:09:14
300
原创 1>MSVCRTD.lib(crtexew.obj) : error LNK2019: 无法解析的外部符号 WinMain
vs2012的bug:1>MSVCRTD.lib(crtexew.obj) : error LNK2019: 无法解析的外部符号 WinMain解决方法: 注意入口函数:创建项目时如果是win32项目,入口函数是WinMain;如果是win32控制台应用程序,入口函数是main。
2017-11-04 13:47:40
2781
原创 IOS AVFoudation+CIRectangleFeature实时识别矩形
本文是结合IOS的Cmera和CIImage中的矩形检测器做的一个识别矩形的demo,对于简单场景效果还不错。复杂场景下检测效果还是差了点,后面会更新结合自己写的opencv算法去检测。
2017-11-03 23:09:13
2531
原创 OpenCV在移动端集成时注意的问题
写的代码在移动端集成时发现效果总是不好,然而在windows下运行正常,定位后发现了问题:OpenCV在windows下三个通道是BGR,但是集成在Android和IOS通道变成RGB,所以用了cv::split函数时要注意不同通道的处理顺序,还有灰度要注意参数是BGR2GRAY还是RGB2GRAY。
2017-10-26 16:29:50
658
原创 Xcode运行错误library not found for -lcrt1.3.1.o
Xcode运行错误library not found for -lcrt1.3.1.o解决方案: 将Deployment Target由5.0改成6.0以上
2017-10-26 16:23:16
426
原创 IOS camera bug
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSCameraUsageDescription key with a string value explaining
2017-10-26 10:43:14
323
原创 Xcode报错undefined xxx
1.undefined reference xxx 未找到函数,在compile Sources 添加需要编译的.cpp文件或者.m文件或者Link Binary With Libraries加上.a静态库。2.undefined symbols for architecture xxx Link Binary With Libraries下添加需要的framework。还有一种情况是本身这个f
2017-10-21 13:02:05
806
原创 无法启动此程序,因为计算机丢失opencv_core249d.dll
在本子上配置环境测试下OpenCV,出现无法启动此程序,因为计算机丢失opencv_core249d.dll,opencv_imgproc249d.dll,opencv_highgui249d.dll。解决方案: 在C++工程里的Debug目录里添加opencv_core249d.dll,opencv_imgproc249d.dll,opencv_highgui249d.dll这三个文件即可,不需
2017-10-02 14:21:49
2504
原创 DELETE_FAILED_INTERNAL_ERROR Error while Installing APKs
安卓真机调试出现的错误,把app卸载了还是不能装。解决方法: File->Settings->Build,Execuion,Deployment->Instant Run 然后把Enable Instant Run to…那一项的勾去掉就好了。
2017-09-20 09:51:52
452
原创 error: cannot use 'try' with exceptions disabled
NDK编库时,出现error: cannot use ‘try’ with exceptions disabled这个错误。解决方案: 在Android.mk中添加LOCAL_CPPFLAGS += -fexceptions即可编译成功。
2017-09-09 13:20:06
11432
SecureCRT附带破解器
2017-05-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人