自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 收藏
  • 关注

原创 ubuntu18.04 + gpu caffe + cuda + cudnn + anaconda + matlab

这是以下借鉴的博客,真是谢谢!安装caffe 主要借鉴博客 https://blog.csdn.net/sinat_23853639/article/details/80990967 安装anaconda3主要借鉴 https://blog.csdn.net/babytang008/art...

2019-03-06 19:26:51 1088

原创 error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error fatal:

在git中unset httpunset https如果出现了缓存溢出的情况,如果还是报缓存溢出的问题的话,可以将这个参数调的更大,它的单位是Bytegit config --global http.postBuffer 1024000000

2021-03-11 22:27:19 6685 2

原创 MapReduce 中出现 java.io.IOException: Cannot initialize Cluster.

java.io.IOException: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses.上面的图片显示了一个错误,是我在跑hadoop知道的example的时候出现的问题。他说是...

2020-03-03 00:16:48 3484

原创 spark yarn-client 提交模式中出现虚拟内存不足的错误

错误日志是Diagnostics: Container [pid=6052,containerID=container_1579323722137_0001_02_000001] is running beyond virtual memory limits. Current usage: 42.3 MB of 1 GB physical memory used; 2.2 GB...

2020-01-18 13:26:51 638

转载 720不能够连接到远程计算机的连接

下面是解决方案第一步:打开”设备管理器“(可以直接点击windows键并搜索,或者是在”此电脑(我的电脑)“上面右键-属性,然后在界面的左侧找到按钮)第二步:在”设备管理器“界面中点击”查看“,点击”显示隐藏项目“第三步:点击”网络适配器“旁边的箭头展开这一项,看一眼有没有WAN Miniport(IP)第四步:点击windows键+R打开”运行“,输入”regedit“打开注册表编辑器...

2019-06-10 13:08:32 379

转载 ubuntu18.04 caffe matlab 运行测试

测试中借鉴的博客: https://www.cnblogs.com/byteHuang/p/6828519.htmlhttps://blog.csdn.net/jiao_mrswang/article/details/81180632Could not convert handle to pointer due to invalid init_key. The obj...

2019-03-11 21:32:10 365

原创 ubuntu18.04 解决caffe接口matlab中的make mattest error

配置matlab 2015b 借鉴自https://blog.csdn.net/c161320317/article/details/80454535百度云地址:链接:https://pan.baidu.com/s/1G7nYaXC9PLS4vYrMJ41HCg提取码:7pur最后配置完matlab万一定要记得sudo chmod -R 777 ~/.matl...

2019-03-11 20:49:17 956 2

转载 matlab中的配置opencv问题

引用博客一、https://blog.csdn.net/kernlen/article/details/52513205博客二、https://blog.csdn.net/zjsmdchen/article/details/78317366 

2018-11-30 17:25:38 2701

原创 树状数组

树状数组1:#include <iostream>using namespace std;const int maxn = 500001;int sum[maxn];int n, m;int lowbit(int x){ return x & (-x);}int getsum(int pos){ int ret = 0; w...

2018-10-10 00:36:30 73

原创 二分图匹配(匈牙利算法)

#include <iostream>#include <string.h>using namespace std;const int maxn = 1001;int girl[maxn];int used[maxn];int line[maxn][maxn];int m;// m是顶点的个数// n是能够配对的数目bool find_(in...

2018-09-28 00:07:33 118

原创 离散化

#include <iostream>#include <algorithm>using namespace std;const int maxn = 1001;int lsh[maxn], cnt, num[maxn];int n;// 重复元素离散化后数字相同void func1(){ cin >> n; for(in...

2018-09-27 23:51:56 156

原创 强连通分量(Tarjan)

#include <iostream>#include <stack>using namespace std;const int maxn = 1001;int map[maxn][maxn];int V, E;int visit[maxn];int instack[maxn];stack<int> s;int dfn[maxn];...

2018-09-27 23:33:08 153

原创 快速排序

#include <iostream>#include <algorithm>using namespace std;const int maxn = 100000;int a[maxn];void quick_sort(int l, int r){ int temp = a[(l + r) >> 1]; int i = l,...

2018-07-31 08:34:40 102

原创 欧拉路径

欧拉道路中,“进”和“出”是对应的————除了起点和终点外,其他点的“进出”次数应该要相等。换句话说,除了起点和终点外,其他点的度数应该是偶数。因此,如果一个无向图是连通的,且最多只有两个奇点,这一定存在欧拉道路。如果有两个奇点,这必须从一个奇点出发,另一个奇点终止,如果奇点不存在,这可以从任意点出发,最终一定会回到该点(欧拉回路)#include <iostream>#includ...

2018-06-09 18:05:47 614

原创 并查集(C++实现)

直接上代码,操作、解释都在里面’#include <iostream>using namespace std;const int MAX_N = 200001;int par[MAX_N];int rank_[MAX_N];void init(int n){ // 初始化 n 个元素 for(int i = 0; i < n; ++i){ ...

2018-06-03 16:11:32 986

原创 单源最短路径(C++实现)

图的构造#include <vector>#include <iostream>using namespace std;struct edge{ int to, cost;};const int MAX = 1000;vector<edge> G[MAX]; // 图int V; // 顶点数int E; // 边数void cre...

2018-06-03 13:50:57 7648 3

原创 高精度 加 减 乘 除(C++实现)

#include <iostream>using namespace std;typedef long long ll;ll s[1000];ll len = 1;void multi(ll x){ for(int i = 1; i <= len; ++i){ s[i] *= x; } for(int i = 1; i <= len; ++i){ if(s[i] >= 10){ s

2018-06-02 19:46:40 3197 1

原创 矩阵链乘(C++实现)

矩阵连乘递推式 m[i][j] = max(m[i][j], m[i][k] + m[k + 1][j] + p[i - 1] * p[k] * p[j])// 有点像分治法的思想,因为先分开最小的两个,之后不断合并成最大的一部分,也就是一个整体#include &lt;iostream&gt; using namespace std; int m[100][100];in...

2018-05-27 16:47:53 1713

原创 最大上升子序列(C++实现)

#include <iostream>using namespace std;int a[100];int dp[100];void solve(){ int n; cin >> n; for(int i = 1; i <= n; ++i) cin >> a[i]; // 核心代码 for(int i = 1; i <= n; ++i){ dp[i] = 1; for(in

2018-05-19 16:01:23 1302

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除