• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Xiaoccer/MobileFaceNet_Pytorch: MobileFaceNets: Efficient CNNs for Accurate Real ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

Xiaoccer/MobileFaceNet_Pytorch

开源软件地址(OpenSource Url):

https://github.com/Xiaoccer/MobileFaceNet_Pytorch

开源编程语言(OpenSource Language):

Python 100.0%

开源软件介绍(OpenSource Introduction):

MobileFaceNet

Introduction

Requirements

  • Python 3.5
  • pytorch 0.4+
  • GPU menory

Usage

Part 1: Preprocessing

Part 2: Train

  1. Change the CAISIA_DATA_DIR and LFW_DATA_DAR in config.py to your data path.

  2. Train the mobilefacenet model.

    Note: The default settings set the batch size of 512, use 2 gpus and train the model on 70 epochs. You can change the settings in config.py

    python3 train.py
    

Part 3: Test

  1. Test the model on LFW.

    Note: I have tested lfw_eval.py on the caffe model at SphereFace, it gets the same result.

    python3 lfw_eval.py --resume --feature_save_dir
    
    • --resume: path of saved model
    • --feature_save_dir: path to save the extracted features (must be .mat file)

Results

  • You can just run the lfw_eval.py to get the result, the accuracy on LFW like this:
Fold 1 2 3 4 5 6 7 8 9 10 AVE(ours) Paper(112x96)
ACC 99.00 99.00 99.00 98.67 99.33 99.67 99.17 99.50 100.00 99.67 99.30 99.18

Reference resources




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap