自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

x_j_b

诚信做人,踏实做事 ,坚持,创新

  • 博客(20)
  • 资源 (1)
  • 收藏
  • 关注

原创 caffe训练时总是会占用0号GPU卡

Sometimes, we will change the default GPU 0  to others when  we are training deep learning models using Caffe, however, we also find that gpu 0 is always used (~100 MBs) .To solver this, we can simp

2017-06-21 11:49:30 1514

原创 centos6.5 安装 ffmpeg

参考  http://blog.csdn.net/u012145581/article/details/51722699,第5步安装x264时,编译用 ./configure --enable-static --enable-shared

2016-11-13 22:28:50 518

转载 linux 硬盘挂载 fdisk parted命令

=========================================小于2T============================使用fdisk命令:具体见http://blog.chinaunix.net/uid-25829053-id-3067619.html=========================================大于2T=

2016-04-12 00:57:06 718

原创 caffe中的iteration,batch_size, epochs理解

epoch: Forward and Backward pass of all training examples ( not used in Caffe)batch: how many images in one passiterations: how many batches1. Batch SizeBatch size in mainly depended to yo

2016-03-29 17:21:14 6298

原创 实测 vector遍历,迭代器方式快于下标访问方式

迭代器(iterator)方式 vs 下标(operator[])方式 vector遍历

2014-12-30 17:39:56 1752

原创 vs2013下,MFC单文档工程如何在菜单栏新增菜单,并添加响应函数

以前做练习时,经常使用MFC基于对话框,今天使用基于单文档

2014-11-14 16:19:24 18830 2

原创 c语言作业,,输入表达式并计算表达式的值

题目概述:表达式只含+,-运算符

2014-10-20 16:16:51 6805

原创 poj2159——我的代码一般都比较简洁,,,

密码验证问题,注意题目有点难理解,

2014-09-01 20:49:23 384

原创 poj1250

题目大意:计算来了不能立即享受日光

2014-09-01 20:16:23 413

原创 poj2840

#include #include #include using namespace std;int main(){    mapm;    m[0]=12;    for(int i=1;i       if(i           m[i]=12+i;           continue;       }       m[i]=i-

2014-08-31 22:14:55 332

原创 poj1326

#include #include using namespace std;int acmPk(int mile,char clas){    int pk=0,tmp;    switch(clas){    case 'F':        pk=mile        break;    case 'B':        tmp=(int)fl

2014-08-31 22:09:34 420

原创 检查元素1-n中是否有相同的元素,o(n)复杂度

#include using namespace std;const int maxn=1000;int a[maxn];bool flag[maxn];int main(){    int n;    while(cin>>n){        memset(flag,false,sizeof(flag));        for(int i=0;

2014-08-31 22:06:51 439

原创 poj1046

找出颜色相距最近的一个映射,#include #include using namespace std;struct rgb{    int r;    int g;    int b;}color[17];int dis(rgb &c1,rgb &c2){   int d=(int)sqrt((float)(c1.r-c2.r)*(c1.r-c2.

2014-08-31 22:03:52 375

原创 poj2128

什么题来着,忘了,呵呵#include #include using namespace std;int main(){    int n;    scanf("%d",&n);    int x2,x3,mdis=1000000000,xi;    scanf("%d",&x2);    for(int i=2;i        scanf("%d

2014-08-31 21:24:58 450

原创 快速排序 c++代码

#include using namespace std;int partition(int *l,int low,int high){    while(low       while(low=l[low]){          high--;       }       swap(l[low],l[high]);       while(low

2014-08-31 21:21:06 393

原创 poj3505

题目大意#include #include using namespace std;const int maxn=2605;struct car{    int f;    int p;}car[maxn];int pos[55];//pos[i]表示第i层的传送带第pos[i]个位置在升降机口int main(){    int t; 

2014-08-31 21:17:49 581

原创 poj2363

把小#include using namespace std;int main(){    int t,n;    scanf("%d",&t);    while(t--){       scanf("%d",&n);       int i,j=1,k=1;       int ans=0xfffffff,s=0;       for(i=1

2014-08-31 21:13:34 449

原创 poj2562

#include using namespace std;int main(){    long int a,b;    int s[10],t[10];    while(scanf("%ld%ld",&a,&b)&&(a+b)){        int i=0,j=0;        while(a){            s[i++]=a%10;

2014-08-31 20:57:50 438

原创 poj2190

题目大意:图书的ISBN号有一丢了,用问号

2014-08-31 20:45:22 420

原创 poj1595

#include #include using namespace std;const int maxn=1001;bool prm[maxn];int main(){    memset(prm,true,sizeof(prm));    for(int i=3;i      for(int j=3;j            if(prm[i]){

2014-08-31 20:37:41 323

latex 画图

latex画图源代码参考示例,论文写作必须,

2016-02-24

空空如也

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

TA关注的人

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