- 博客(11)
- 资源 (3)
- 收藏
- 关注
原创 AttributeError: 'module' object has no attribute 'text_format'
问题: pb2.text_format.Merge(f.read(), self.solver_param) AttributeError: 'module' object has no attribute 'text_format'解决办法:pip install protobuf==2.6.0分析: 使用命令进行安装的时候,版本没有达到工程所需的,所以需要升级
2017-04-28 10:52:50 4131
原创 LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
更新VS2010,或者卸载VS2012安装2010后,建立Win32 Console Project/MFC项目时会出现"LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏"的错误。解决 方法 : 第一步:将 项目——项目属性——配置属性——连接器——清单文件——嵌入清单 “是”改为“否”。
2017-04-25 15:07:21 488
原创 centos关机与重启命令
Linux centos重启命令: 1、reboot 2、shutdown -r now 立刻重启(root用户使用) 3、shutdown -r 10 过10分钟自动重启(root用户使用) 4、shutdown -r 20:35 在时间为20:35时候重启(root用户使用) 如果是通过shutdown命令设置重启的话,可以用shutdown -c命令取消重启
2017-04-25 09:42:43 492
原创 centos: error while loading shared libraries: libcudart.so.8.0
问题:./XXXXXXX: error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file or directory解决方法:sudo cp /usr/local/cuda-8.0/lib64/libcudart.so.8.0 /usr/lib/libc
2017-04-24 13:45:55 5481 3
原创 centos不同服务器间移动文件
scp /有移动文件的文件夹路径/所移动的文件(如果是所有文件用*代替) root@XXX.XXX.XXX.XXX:/移动的目标路径/
2017-04-20 17:28:26 1329
原创 centos安装升级版GCC
[plain] view plain copy wget http://ftp.gnu.org/gnu/gcc/gcc-6.1.0/gcc-6.1.0.tar.bz2 tar -jxvf gcc-6.1.0.tar.bz2 cd gcc-6.1.0 ./contrib/download_prerequisites mkdir build
2017-04-18 14:31:52 581
原创 centos 查看gcc版本
1. gcc -v(Display the programs invoked by the compiler) [root@localhost /]# gcc -vReading specs from /usr/i386-glibc-2.1-linux/lib/gcc-lib/i386-glibc21-linux/egcs-2.91.66/specsgcc version egcs-2
2017-04-18 10:24:43 17814
原创 darknet使用detector训练与测试自己的数据
看过几篇博客和官网的介绍,总结出自己切实可行的pipline,思路如下:第一:下载官网源码,训练测试,检测测试,如果没有问题,进行下一步。第二:开始做满足其训练的数据,包括图像和带有标注的标准xml格式文件,这一步耗时微长一些,用到了 一下三个工具: 1、P图工具 2、生成xml文件工具 3、转换图像格式工具第三:数据替换
2017-04-14 14:31:45 8419 6
转载 File "xxx.py", line 8 SyntaxError: Non-ASCII character '\xe8' in file xxx.py
使用网上某个Python程序,编译时报错: File "xxx.py", line 8 SyntaxError: Non-ASCII character '\xe8' in file xxx.py on line 8, but no encoding declared; see http://www.python.org/peps/pep-0263.html
2017-04-11 15:26:37 4887
原创 今日做的两道题
#include "stdafx.h"#include #include #include #include #include #include using namespace std;// 定义链表中的节点typedef struct node{ int age; // 节点中的成员 int id; struct node *pNext; /
2017-04-03 16:21:24 461
Area Location Code
2015-03-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人