摘要: 首先写一个简单的测试代码 之后, 写一个CMakeLists.txt 文件,try.cpp为相应的C++文件,project后面接的是想要生成的可执行文件名 写好了之后运行 之后 相应路径下会生成一个名字为opencv的文件,执行 成功得到结果~ 阅读全文
posted @ 2017-10-12 20:21 想飞的萌猪 阅读(2623) 评论(0) 推荐(0) 编辑
摘要: DCAN: Deep Contour-Aware Networks for Accurate Gland Segmentation 作者:Hao Chen Xiaojuan Qi Lequan Yu Pheng-Ann Heng 香港中文大学 文章:https://arxiv.org/abs/160 阅读全文
posted @ 2017-08-30 15:06 想飞的萌猪 阅读(3725) 评论(0) 推荐(0) 编辑
摘要: import random from PIL import Image import numpy as np import os import h5py from PIL import Image LIST_FILE = ['list_train.txt', 'list_test.txt']###################### HDF5_LIST = 'HDF5/list_hdf5.t... 阅读全文
posted @ 2017-08-15 14:11 想飞的萌猪 阅读(1288) 评论(0) 推荐(0) 编辑
摘要: from libtiff import * imgdir = TIFF3D.open("train-labels.tif") imgarr = imgdir.read_image() for i in range(imgarr.shape[0]): savepath = "./train-labels/"+ str(i) + '.tif' img = TIFF.open(sav... 阅读全文
posted @ 2017-08-15 11:38 想飞的萌猪 阅读(2011) 评论(0) 推荐(0) 编辑
摘要: 运行结果 阅读全文
posted @ 2017-07-10 17:10 想飞的萌猪 阅读(3015) 评论(0) 推荐(1) 编辑
摘要: caffe.proto中TransformationParameter部分 caffe.proto中Datum部分 include/caffe/data_transformer.hpp src/caffe/data_transformer.cpp 摘抄参考赵永科《21天实战caffe》 同时参考ht 阅读全文
posted @ 2017-07-07 15:13 想飞的萌猪 阅读(1047) 评论(0) 推荐(1) 编辑
摘要: caffe.proto中DataParameter部分 include/caffe/layers/base_data_layer.hpp src/caffe/layers/base_data_layer.cpp 摘抄参看赵永科《21天实战caffe》 阅读全文
posted @ 2017-07-06 11:04 想飞的萌猪 阅读(906) 评论(0) 推荐(0) 编辑
摘要: 首先是Net使用的小例子: linux下编译(bambootry为自己创建的文件夹) 结果: ……中间省略 继续省略…… 代码注释 src/caffe/proto/caffe.proto中NetParameter include/caffe/net.hpp 未完待续…… 内容来自赵永科《深度学习 2 阅读全文
posted @ 2017-06-30 19:36 想飞的萌猪 阅读(2419) 评论(0) 推荐(0) 编辑
摘要: src/caffe/proto/caffe.proto 中LayerParameter部分 include/caffe/layer.hpp 待更新 摘抄参考赵永科《深度学习 21天实战caffe》 阅读全文
posted @ 2017-06-30 15:38 想飞的萌猪 阅读(1274) 评论(0) 推荐(0) 编辑
摘要: 首先,Blob使用的小例子(通过运行结果即可知道相关功能): 编译: 运行结果: 进入正题,代码注释 src/caffe/proto/caffe.proto中Blob部分 include/caffe/blob.hpp (其中使用了SyncedMemory类,具体有关该类的内容在其他文件中) 作为基本 阅读全文
posted @ 2017-06-29 16:02 想飞的萌猪 阅读(2347) 评论(0) 推荐(0) 编辑