Git Product home page Git Product logo

facedetection_cnn's Introduction

FaceDetection_CNN

Implement Yahoo Paper: Multi-view Face Detection Using Deep Convolutional Neural Networks

  1. Image Preprocess aflw dataset[1]. Use iou>=0.5 as positive, iou<=0.3 as negative. You should download the aflw dataset by yourself.

  2. Fine-tune Alex-Net using AFLW dataset. The model is in Baidu Yun: https://pan.baidu.com/s/1pJJ2WKN, or Google Drive: https://drive.google.com/file/d/0B8_dH3SiT7reMjJVRjJDXzJkRDQ/view?usp=sharing

  3. Convert fully connected layers into convolutional layers by reshaping layer parameters, see [2], you can use the convert_full_conv() function in test.py for converting.

  4. Get heat map for each scale of image.

  5. Process heat map by using non-maximal suppression to accurately localize the faces.

========== Reference: [1]https://lrs.icg.tugraz.at/research/aflw/

[2] http://nbviewer.ipython.org/github/BVLC/caffe/blob/master/examples/net_surgery.ipynb

facedetection_cnn's People

Contributors

guoyilin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

facedetection_cnn's Issues

no test result

谢谢你分享的模型!
有个问题想问一下:
我的运行环境是windows(caffe,python)
最后保存的结果还是原图,没有标记的人脸box。
跟了一下程序,generateBoundingBox里的prob值非常小,true_boxes是空的。不知道为什么?
期待回复:)

what is lfw.txt in test.py and from where can i access that for testing the model??

After training the model, I get the loss to be very high(can you tell me how to decrease it).
Following is the output after 10000 iter of training that i got:

I0331 04:21:06.584506 2709 sgd_solver.cpp:273] Snapshotting solver state to binary proto file /media/jinesh/ACB6A202B6A1CCE0/Academics/8thSemester/CNN/train_iter_100000.solverstate
I0331 04:21:08.205349 2709 solver.cpp:311] Iteration 100000, loss = 0.00238461
I0331 04:21:08.205370 2709 solver.cpp:331] Iteration 100000, Testing net (#0)
I0331 04:22:55.422292 2709 solver.cpp:398] Test net output #0: accuracy = 0.993758
I0331 04:22:55.422312 2709 solver.cpp:316] Optimization Done.
I0331 04:22:55.464334 2709 caffe.cpp:259] Optimization Done.

Next for testing I opened test.py but it says:
if name == "main":
#convert_full_conv()
face_detection("lfw.txt")
so where is lfw.txt in the repository?

How can I generate "aflw/crop_images/train.txt" and "aflw/crop_images/val.txt"

Hi, I finished image preprocessing step using provided code "image_preprocess.py" and now I want to train the model using Caffe. However, there is train.txt and val.txt for training session and I cannot figure out how to generate train.txt and val.txt. It seems "aflw.list" file does a related job but I'm not sure. Could anyone teach me how to generate train.txt and val.txt? Thanks

what is in "aflw/crop_images/train.txt"?

I was wandering if maybe you know what is in "aflw/crop_images/train.txt" which comes up with "train_val.prototxt", what is its data format or structure? Thanks.

Verification of the code

Thank you very much for your code. I am wondering whether the coded are verified. There are even indent inconsistency problems in Python files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.