Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Use Cafffe to do Face Attributes MultiTask Classification based on CelebA data sets

Notifications You must be signed in to change notification settings

HansRen1024/Face-Attributes-MultiTask-Classification

Repository files navigation

Face-Attributes-MultiTask-Classification

Use Cafffe to do Face Attributes MultiTask Classification based on CelebA data sets


  1. Put convert_multilabel.cpp into caffe_root/tools/
  2. Remake caffe by running make clean && make all -j8 && make py
  3. Find list_attr_celeba.txt in CelebA_root/Anno/
  4. Run sed -i 's/ / /g' list_attr_celeba.txt to replace double sapce to single space.
  5. Use processlist.py to pick up which attributes you want.
  6. Then, run sed -i 's/-1/0/g' train.txt
  7. Next, use create_lmdb.sh to create lmdb datasets.
  8. Finally, change mcnn_Attri.prototxt suited for your situation.
  9. show.py is used for training output visulisation.

image image


中文博客地址

https://blog.csdn.net/renhanchi/article/details/81903684


References

https://github.com/HolidayXue/CodeSnap

https://zhuanlan.zhihu.com/p/22190532

About

Use Cafffe to do Face Attributes MultiTask Classification based on CelebA data sets

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published