andbleo
andbleo
I think the answer is neither. It looks like gen_landmark_48.py expects an annotated file with 15 columns, and the CelebA files only have 11 columns. If you look at the...
When I use the trainImageList.txt from the MTCNN-Tensorfow repo, I had to uncomment the following line to get gen_landmark_48.py to work: https://github.com/kuaikuaikim/DFace/blob/master/dface/prepare_data/gen_landmark_48.py#L52 After that, I was able to train ONet.
I applied the following diff based on the comments from that thread: ``` diff --git a/dface/core/detect.py b/dface/core/detect.py index a780158..889a1fe 100644 --- a/dface/core/detect.py +++ b/dface/core/detect.py @@ -387,6 +387,8 @@ face candidates:%d,...