- 博客(39)
- 资源 (2)
- 收藏
- 关注
原创 openvino使用过程中 IR 文件转换遇到 Error
在使用 mo_tf.py 文件对 Tensorflow 模型进行转换时:python mo_tf.py --input_model E:\WORK\vino\tensorflow\ssd_mobilenet_v1_coco_2018_01_28\frozen_inference_graph.pb --tensorflow_use_custom_operations_config C:\...
2019-11-22 09:35:31 873 3
原创 vswhere tool is not found问题及解决方案
安装和配置 openvino 环境变量和目录路径时候,遇到如上图所示的错误;解决方案:1.去Miscrosoft官网下载VS2015对应的生成工具:https://www.microsoft.com/en-US/download/details.aspx?id=481592.在执行语句命令后面加上后缀 VS2015build_samples_msvc.bat VS2...
2019-11-08 14:36:20 4737 1
原创 安装Openvino时报错:此时不应有\Microsoft错误
出现如下图所示的 此时不应有.... 错误,是环境变量中存在特殊字符导致的解决方案是:将 Path 中存在 ; 分隔的多个路径名分成单行之后再执行.bat脚本,即可成功运行...
2019-11-07 18:36:46 1088
原创 Could not find "protoc" executable!无法安装 onnx 报错的问题
安装onnx时报错:cwd: /tmp/pip-install-z97qlhcj/onnx/ Complete output (1 lines): Could not find "protoc" executable! ----------------------------------------ERROR: Command errored out with ex...
2019-11-06 13:33:24 1786
原创 pip下载安装速度过慢问题及解决方案
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy==1.16.0如果下载速度太慢,可以更换为清华的源打包安装同理pip install -i https://pypi.douban.com/simple -r requirements.txt...
2019-10-25 10:14:19 2845
原创 C++容器使用记录[持续更新]
1.如何判断一个 vector 是否为空?vector<T> v;//判断 v 是否为空if(! v.empty() ){ ...}//或者if( v.size() == 0 ){ ...}2.二维向量 vector 的宽和高的查看vector<vector<T>> arrayint width = array...
2019-08-25 20:32:12 69
原创 在自己的笔记本上运行服务器端的JupyterNotebook配置
实验室有块8G的1070Ti,无奈僧多肉少,记录下配置流程备忘。参考链接:https://blog.csdn.net/chr1991/article/details/92618832前提说明:server:Ubuntu14.04.05 Python2.7deskTop:Windows 10ssh:Xshell 5生成配置文件 jupyter notebook --ge...
2019-08-14 14:14:01 254
原创 Object arrays cannot be loaded when allow_pickle=False问题的解决
说明:此问题是我在运行《Python深度学习》一书中下载路透社数据集时遇到的错误。解决方案是将numpy版本的降低至1.6以下即可解决莫名报错记录两个命令:pip show numpy #显示 numpy 的版本号pip install -U numpy==1.15.4 #自定义版本号安装 numpy...
2019-08-07 15:46:33 1552
转载 Ubuntu16.04安装Chrome浏览器等常用软件的简明安装记录
机型:Thinkpad S440 / Thinkpad X1-Carbon系统:Ubuntu16.04.10实测五行命令完美安装,记录如下:安装Google旗下的Chrome浏览器的步骤如下:sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/ #Ywget...
2019-04-25 20:43:44 219
原创 指针常量与常量指针的分辨
#include<iostream>#include"stat.h"using namespace std;int variable = 1;int main(){ //常量指针测试: a --- left 就是指向常量的指针 const int a = 10; //a是一个常量 int c ...
2019-04-24 09:58:15 98
原创 安装Ros时遇到E: Malformed entry 1 in list file /etc/apt/sources.list.d/ros-latest.list (Component)错误的解决方案
在执行系统更新命令时遇到俩错误:E: Malformed entry 1 in list file /etc/apt/sources.list.d/ros-latest.list (Component)E: The list of sources could not be read.此时执行:sudo rm /etc/apt/sources.list.d/ros-latest....
2019-03-30 18:15:08 15933 6
原创 Ubuntu16.04拼音输入法的配置安装
Ubuntu系统安装完成后的首件事情就是,更换国内清华大学的镜像源,网址是:https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/sudo gedit /etc/apt/sources.list 打开之后,将原始配置代码删除,重新添加TSU的镜像配置代码:# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释d...
2019-03-28 17:19:16 564
原创 三色排序问题
给定一个包含 n 个元素的数组 A[1..n],其中仅有红、白、蓝三种元素。请设计一种时间复 杂度为 O(n) 的算法将数组 A 中的元素其分为三段,第一段仅包含红色元素,第二段仅包含白色 元素,最后一段仅包含蓝色元素。你设计的算法仅能通过交换数组中两个元素来对数组进行修改,并仅能使用 1 个额外空间来存储数组元素 (因此不能通过统计三种颜色的元素个数来对数组 A 进行分段)。请分析你设计的算法是...
2018-11-19 11:00:54 669
原创 琐碎事情9.16
转眼就开学一周了,这一周总体感觉收获并不是很大,FZB大神交待的三个问题还是没有解决(还是自己有点懒,碰见不会的困难的代码就不敢往下深究了),然后这一周主要是学了学C++的面向对象部分。周四上了第一节课,工程数学-数理统计,李老师至少60岁了,但看起来仍然神采奕奕,讲起课来中气十足,我觉得有那么好的资源,一定要把这门课程好好的学一学,暂定的计划是把概率论再过一遍,至少把极限定理还有大数定律那一...
2018-09-16 19:28:29 145
转载 AndroidStudio的安装配置&&注意要点
This chapter walks you through installing and setting up your development environment so you can follow the examples and labs in this book. First, you will install an essential prerequisite componen
2016-07-16 19:18:16 40026
原创 PTA-基础巩固2
4-2 多项式求值 (15分)本题要求实现一个函数,计算阶数为n,系数为a[0] ... a[n]的多项式f(x)=∑i=0n(a[i]×xi) 在x点的值。函数接口定义:double f( int n, double a[], double x );其中n是多项式的阶数,a[]中存储系数,x是给定点。函数须返回多项式f(x)的值。裁判测试程
2015-11-12 11:31:21 284
原创 待更正
#include#include#include#define maxn 10500using namespace std;int m,n;int par[maxn];int x[maxn];int y[maxn];int sum[maxn];int find(int x){ if(x == par[x]) return x; else return par[x]
2015-10-25 21:40:36 381
原创 POJ 1128【并查集】
食物链Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 26553 Accepted: 7718Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。
2015-10-24 17:08:13 413
原创 asf
#include#include#include#includeusing namespace std;int m;int k;int P;int pre[550];double d[550];struct post{ double x; double y; }p[550];struct node//构建临界矩阵,W代表距离权值 { int u; int v;
2015-08-26 17:50:03 384
原创 解题报告海边
#include#include#include#include#define INF 0x3f3f3f3fusing namespace std;int dis[11]; bool used[11];int sea[11];//标记沿海城镇的序号数组 int map[11][11];int n,k,minx;void init()//初始化map数组,主对角线为零,其余为I
2015-08-25 20:26:54 488
原创 解题报告排队
#include#include#include#include#define N 1000 using namespace std;struct node{int time;int pat;friend bool operator {if(a.pat != b.pat)return a.pat else return a.time >
2015-08-25 19:17:51 327
原创 解题报告公主
#include#include#includeusing namespace std;char map[201][201];//map数组,模拟监狱 int M,N,direction[4][2]={ {1,0},{-1,0}, {0,1},{0,-1}}; struct node//结构体中包含优先队列 { int x; int y; int step; fri
2015-08-24 17:20:01 1453
原创 解题报告
/* Function Description: HDOJ 1016 Environment: DEV C++ 5.6.3.1 Technique: ALGORITHM OF DFS Version: DFS Author: valar morghulis Date: 20150806 Notes: Take care of fr
2015-08-24 15:51:57 310
原创 NYOJ-58-最小步数(搜索)
最少步数时间限制:3000 ms | 内存限制:65535 KB难度:4描述这有一个迷宫,有0~8行和0~8列: 1,1,1,1,1,1,1,1,1 1,0,0,1,0,0,1,0,1 1,0,0,1,1,0,0,0,1 1,0,1,0,1,1,0,1,1 1,0,0,0,0,1,0,0,1 1,1,0,1,0,1,0,0,1
2015-08-08 17:33:32 497
原创 HDOJ-1016-Prime Ring Problem(素数环)【DFS】
Problem DescriptionA ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of numbers in two adjacent circles should be a prime.
2015-08-06 21:19:39 361
原创 HDOJ-1242-RESCURE(营救公主)【BFS+优先队列】
/* Function Description: HDOJ 1242 Environment: DEV C++ 5.6.3.1 Technique: Version: Author: valar morghulis Date: 20150806 Notes:正难则反,只
2015-08-06 20:38:45 759
原创 第一周总结
这一周主要学习的有:基础输入输出格式、动态数组的基础应用、基础排序方式(冒泡,快排)、大数相加1.基础输入输出格式C1.无限次输入; C while(scanf("%d%d",&a,&b)!=EOF) {}//注 1 || while(~scanf ("%d%d",&a,&b)){} 2.有限次输入: while (n--){}
2015-07-25 19:48:28 424
原创 一周感悟
从20号回来,不知不觉的就过去一周时间了。深深的发觉自己的水平是那么的渣渣。。。今天上午的比赛,十道题,一道都没做出来,浪费了一上午时间,心里非常郁闷,看rank上面有的队伍都竟然做出来了九道题,真是人比人气死人啊。虽然说是叫做暑期培训,可大多数时间还是以自学为主,经常是老师讲一个小时,然后自己再上网百度(毕竟听不大懂);之后下午上届的大二学长再根据上午讲的两三个知识点给我们出十道题,然后下午
2015-07-25 17:54:29 1044 1
原创 Record-2-8
#include #include int main (){ char a[5]; char b[80]; int c[5]={0}; int i , k ,j ,l1, l2; while ( gets(a) && a[0]!='#') { int c[5]={0}; l1 = strlen(a); gets (b);
2015-07-21 20:45:08 294
原创 Record-2-7
HPU-4-1#include #include char a[100];int main(){ int n,i,k,l=0;//****************88 scanf("%d",&n); getchar (); while(n--) { k=0; //***************8在这个地方归零 gets(a); l =
2015-07-21 20:44:26 300
原创 Record-2-6
HPU-3-1#include #include int main (){ char b[100]; int a[5]; int n,i,j,k,l; scanf("%d",&n);//***************8 getchar(); while(n--) { int a[5]={0}; //************ //scanf("
2015-07-21 20:43:42 406
原创 Record-2-5
HPU-2 #include #include int main (){ char a[100]; int i,j,k,l; while (gets(a)!='\0'){ // scanf("%s",a); // gets (a); l = strlen (a); for (i=0;i if(a[i]==' '){ a
2015-07-21 20:41:27 311
原创 Record-2-4
HPU-2014-暑假训练-1 #include #include int main (){ int n,l,i,cnt; char a[100]; scanf("%d",&n); while (n--){ cnt=0; scanf("%s",a); getchar(); l = strlen (a); //printf("%
2015-07-21 20:40:41 310
原创 Record-2-3
ZOL--1241 #include #include int main (){ int i=0,k; double a,b,c; while (scanf("%lf%lf%lf",&a,&b,&c)!=EOF||(a!=0&&b!=0&&c!=0)) { i++; if(a==-1){ if(b>=c){ print
2015-07-21 20:37:57 317
原创 Record-2-2
小水题----ZOL---1048 #include int main (){ int cnt,i; double a[12],sum; for(i=0;i { scanf("%lf",&a[i]); sum+=a[i]; } printf("$%.2lf\n",sum/12); return 0;}
2015-07-21 20:36:58 281
原创 Record-2-1
正式的训练开始了。老师讲课快的飞起。还没明白怎么回事呢就过去了。下午学长又出了十道题从三点到现在只AC了六道。先传上来。再复习今天的知识。然后预习预习。回文序列# include # include# includeint main(){ char c1[1000]; char c2[1000]; int i,j,m,n,l; scanf("%s",
2015-07-21 20:33:35 318
原创 Record-1-2
*******************************************************另一种阶乘2015-7-20-第二次 # include int main (){ int n,a,i,j,t; int s=0; int q=1; scanf("%d",&n); while(n--) { scanf("%d
2015-07-20 21:41:18 310
原创 Record--1
暑假集训正式开始,开博客记录我的ACM之路。今天写的第一个程序题目是很基础在鸡兔同笼问题,可是调试了半天还是WA,做题还是不能眼高手低,再找找错!
2015-07-20 10:25:51 265
《人工智能》刘凤岐.pdf
2019-07-19
人工智能导论-鲍军鹏
2019-02-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人