基于 CNN的年龄和性别检测《age and gender classification using CNN》

本文介绍了基于CNN的年龄和性别检测技术,通过Tensorflow实现。主要涉及处理Labeled Faces in the Wild数据集、使用Caffe的预训练模型如deploy_gender.prototxt和deploy_age.prototxt,以及gender_net.caffemodel和age_net.caffemodel。在运行中遇到路径问题和服务器端图像显示问题,同时提到了Adience数据集的下载方法,包括FTP和WinSCP客户端的使用,但下载过程可能因网络速度慢而中断。
摘要由CSDN通过智能技术生成

基于 CNN的年龄和性别检测《age and gender classification using CNN》

Getting the known gender based on name of each image in the "Labeled Faces in the Wild" dataset. (Tensorflow版本)

路径问题我解决了很久,最后改写该脚本,使用绝对路径 by kang

#!/usr/bin/env sh
# This script converts the mnist data into lmdb/leveldb format,
# depending on the value assigned to $BACKEND.
set -e


#EXAMPLE=examples/mnist
#EXAMPLE=/home/kangyemeng/caffe/examples/mnist
#DATA=data/mnist
DATA=/home/kangyemeng/AgeGenderDeepLearning/models/model_and_data
#BUILD=build/examples/mnist
BUILD=/home/kangyemeng/caffe/.build_release/examples/cpp_classification

echo "begin gender......"

$BUILD/classification.bin $DATA/deploy_gender.prototxt \
$DATA/gender_net.caffemodel $DATA/mean.binaryproto \
  $DA
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值