源码说明:
人脸标注,11类。
1. 从github下载源码。
https://github.com/Liusifei/Face_Parsing_2016
2. 编译源码
这个源码下载后,里面只有Makefile文件,没有Makefile.config文件
将3分类FaceLabeling中配置好的Makefile.config,拷贝到Face_Parsing_2016-master/目录下(Face_Parsing_2016-master/为我的解压目录),不要使用cuDNN加速,我这里使用加速后不能编译通过。
我的配置文件如下:
## Refer to http://caffe.berkeleyvision.org/installation.html
# Contributions simplifying and improving our build system are welcome!
# cuDNN acceleration switch (uncomment to build with cuDNN).
# vUSE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support).
# CPU_ONLY := 1
# To customize your choice of compiler, uncomment and set the following.
# N.B. the default for Linux is g++ and the default for OSX is clang++
# CUSTOM_CXX := g++
# CUDA directory contains bin/ and lib/ directories that we need.
CUDA_DIR := /usr/local/cuda
# On Ubuntu 14.04, if cuda tools are ins