摘要: 例如: #!/bin/bash #LOG="examples/mnist/lenet_log_mylog" LOG="LOG/log.txt.`date +'%Y-%m-%d_%H-%M-%S'`"#包含运行日期exec &> >(tee -a "$LOG")echo Logging output 阅读全文
posted @ 2017-06-22 17:48 想飞的萌猪 阅读(2167) 评论(0) 推荐(0) 编辑
摘要: Makefile.config 中 CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \ -gencode arch=compute_20,code=sm_21 \ -gencode arch=compute_30,code=sm_30 \ -genc 阅读全文
posted @ 2017-06-22 15:35 想飞的萌猪 阅读(2905) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python import urllib2 url="http://10.3.8.211" data="DDDDD=2010111222&upass=111111&0MKKey=" resp=urllib2.urlopen(url,data.encode('utf-8')) 阅读全文
posted @ 2017-06-21 15:52 想飞的萌猪 阅读(204) 评论(0) 推荐(0) 编辑
摘要: src/caffe/layers/hdf5_output_layer.cpp:3:18: fatal error: hdf5.h: 没有那个文件或目录 查找文件 locate hdf5.h 修改Makefile.config文件,在下面的语句后面增加红色部分 INCLUDE_DIRS := $(PY 阅读全文
posted @ 2017-06-21 10:44 想飞的萌猪 阅读(8629) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python #coding=utf-8 #随机抽取一部分图片作为测试集 import random NameList=[]#存储所有图片名字 ''' NameListPath='NameList_v.txt' #图片名存储地址 SlicePath='Main visibal/test.txt' #抽取的元素的存储地址 SlicePath2='Main vi... 阅读全文
posted @ 2017-06-21 10:21 想飞的萌猪 阅读(792) 评论(0) 推荐(0) 编辑
摘要: # -*- coding=utf-8 -*-''' import matplotlib.pyplot as plt import re logs=open('loss').read() #print logs pattern = re.compile('\ .*?Iteration (\d+)\, loss = (.*?)\n',re.S) result= re.findall(patter... 阅读全文
posted @ 2017-06-09 15:09 想飞的萌猪 阅读(3354) 评论(0) 推荐(0) 编辑
摘要: 之前编译Faster-RCNN的时候用的都是CUDA7.5,最近换了机器,变成了CUDA8.0,果然编译出现错误了…… 参考下面这篇博客解决了问题: http://blog.csdn.net/kexinmcu/article/details/53178428 按照博客中的方法复制好像不能解决问题,将 阅读全文
posted @ 2017-05-31 17:11 想飞的萌猪 阅读(237) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include using namespace std; void getFiles(string path, vector& files) { //文件句柄 intptr_t hFile = 0; //以前运行不通大多是数据类型的原因 //文件信息 str... 阅读全文
posted @ 2017-05-31 17:10 想飞的萌猪 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 包含目录 $(OPENCV)\include\ $(OPENCV)\include\opencv\ $(OPENCV)\include\opencv2\ 即: D:\opencv\opencv\build\include\;D:\opencv\opencv\build\include\opencv\ 阅读全文
posted @ 2017-05-31 17:06 想飞的萌猪 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 综述类文章 Cross-media analysis and reasoning: advances and directions Yu-xin PENG et al. Front Inform Technol Electron Eng 浙江大学学报(英文版)2017 18(1):44-57 这篇文 阅读全文
posted @ 2017-05-31 17:03 想飞的萌猪 阅读(882) 评论(0) 推荐(0) 编辑