use cpp and python extract caffe features
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
ResNet11_classification.prototxt
classification.cpp
classification_mean.txt
extractfeature.py
img_1.jpg
img_2.jpg
img_3.jpg
mean.binaryproto
mean.npy
mean2npy.py
out.py
py_deploy.prototxt
py_result.txt

README.md

提取caffe隐含层特征

基于python与cpp两个版本。 详细说明见我的博客

extractfeature.py

python版本提取特征。

classification.cpp

基于classification.cpp例程修改后提取隐含层特征。

mean2npy.py

将.binaryproto转化为python读取的.npy格式。

.prototxt

py_deploy用于python,而ResNet11_classification用于cpp

out.py

用于测试提取后特征之间相似度。

.txt

py_result来自python提取的特征,classificaiton_mean来自cpp提取的特征。