lincolnhard / mtcnn-head-detection Goto Github PK
View Code? Open in Web Editor NEWThis project forked from luoyetx/joint-face-detection-and-alignment
Head detection with modified cascaded CNN
License: BSD 3-Clause "New" or "Revised" License
This project forked from luoyetx/joint-face-detection-and-alignment
Head detection with modified cascaded CNN
License: BSD 3-Clause "New" or "Revised" License
Hi, I have generated my own data,there has some issues like below when I trained,
I0906 03:52:38.055449 145076 layer_factory.hpp:77] Creating layer data
I0906 03:52:38.056452 145076 net.cpp:86] Creating Layer data
I0906 03:52:38.056471 145076 net.cpp:382] data -> data
I0906 03:52:38.056488 145076 net.cpp:382] data -> bbox_target
I0906 03:52:38.056497 145076 net.cpp:382] data -> label
Traceback (most recent call last):
File "jfda/train.py", line 123, in
solver = Solver(solver_prototxt, args)
File "jfda/train.py", line 60, in init
self.solver = caffe.SGDSolver(tmp_solver_prototxt)
File "/home/ll/Project/Object_Detection/mtcnn-head-detection/layers/data_layer.py", line 55, in setup
self.reshape(bottom, top)
File "/home/ll/Project/Object_Detection/mtcnn-head-detection/layers/data_layer.py", line 61, in reshape
top[3].reshape(self.n)
IndexError: Index out of range
I0704 15:17:48.250639 31549 net.cpp:382] data -> bbox_target
I0704 15:17:48.250646 31549 net.cpp:382] data -> label
Traceback (most recent call last):
File "jfda/train.py", line 125, in
solver = Solver(solver_prototxt, args)
File "jfda/train.py", line 62, in init
self.solver = caffe.SGDSolver(tmp_solver_prototxt)
File "/home/isp/workspace/opencvLab/mtcnn-head-detection/layers/data_layer.py", line 55, in setup
self.reshape(bottom, top)
File "/home/isp/workspace/opencvLab/mtcnn-head-detection/layers/data_layer.py", line 61, in reshape
top[3].reshape(self.n)
IndexError: Index out of range
haneesh@haneesh:~/Desktop/mtcnn-head-detection-master$ python3 jfda/prepare.py --net p --wider --worker 8
[2020-01-05 20:31:13,719][INFO] loading WIDER
parsing /home/haneesh/Desktop/mtcnn-head-detection-master/data/SCUT_HEAD_Part_B/JPEGImages/ ...
parsing /home/haneesh/Desktop/mtcnn-head-detection-master/data/SCUT_HEAD_Part_A/JPEGImages/ ...
parsing /media/lincolnhard/11e5b063-4031-49ed-bf24-312fc250e90c/lincoln/cheat/JPEGImages/ ...
Traceback (most recent call last):
File "jfda/prepare.py", line 544, in
gen_wider()
File "jfda/prepare.py", line 270, in gen_wider
train_data, val_data = load_scutbrainwashcheat()
File "/home/haneesh/Desktop/mtcnn-head-detection-master/jfda/utils.py", line 15, in load_scutbrainwashcheat
for name in os.listdir(trainimdir):
FileNotFoundError: [Errno 2] No such file or directory: '/media/lincolnhard/11e5b063-4031-49ed-bf24-312fc250e90c/lincoln/cheat/JPEGImages/'
Hello!
Your implementation has greatly aided in my research!
I changed some things up in the code ( and will happily provide all changes upon request) and the model is currently being re-trained for purposes not related to facial recognition.
I would like to firstly thank you and show my appreciation.
I'm not sure how to cite your work other than putting a link to your github in my paper.
Other than that is there any special way you would like to be cited?
Thanks again!
想问下up主,caffe下跑单一图片的时间有测算过么?
谢谢~
您好,data_layer.py这个文件是不是错的?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.