自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 资源 (1)
  • 收藏
  • 关注

原创 用Python找出两个文本之间的共同项

在用caffe进行训练时,有时候发现Label文件中所含有的图片名字中,在图片库中竟然找不到图片,当然会导致训练出错。所以用Python写了个脚本来解决这样的问题。import sysimport osimport os.path as ospdef filter(path): file=open(osp.join(path,'label.txt')) wh

2017-07-29 22:23:27 1136

原创 用python对两个文本进行相同项筛选

import osimport os.path as ospdef filter(path): file_path = osp.join(path, 'index.txt') if osp.exists(file_path): return file_path index_file = open(file_path, 'a+') if

2017-07-27 18:06:31 4124

转载 C++遍历文件夹的所有文件

#include "stdafx.h"  #include   #include  #include  #include   #include     #include   #include   using namespace std;    #define MAX_PATH 1024  //最长路径长度    /*-----------------

2017-07-24 22:30:44 228

区块链:技术驱动金融

从kindle中导出来的技术书籍,技术性较强。供大家分享

2018-02-10

空空如也

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

TA关注的人

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