09 2016 档案

摘要:# coding=gbkimport osimport os.path #读取目录下的所有文件,包括嵌套的文件夹def GetFileList(dir, fileList): newDir = dir if os.path.isfile(dir): fileList.append(dir) elif os.path.isdir(dir): for s ... 阅读全文
posted @ 2016-09-25 14:08 AllenLYU 阅读(11391) 评论(0) 推荐(1)
摘要:Caffe中convert_imageset projrct将图像数据转换成Caffe能读取的数据格式leveldb/lmdb 1.添加命令参数 在main函数中添加命令参数,内容和位置如下: #ifndef GFLAGS_GFLAGS_H_ namespace gflags = google;#endif //convert imageset By XiaopanLyu======... 阅读全文
posted @ 2016-09-24 11:48 AllenLYU 阅读(899) 评论(0) 推荐(0)
摘要:在一块SSD的CentOS配置静态IP 1. 配置静态IP #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" 设备名NM_CONTROLLED="yes" 设备是否被NetworkManager管理ONBOOT="no" 开机是否 阅读全文
posted @ 2016-09-13 18:28 AllenLYU 阅读(519) 评论(0) 推荐(0)

levels of contents