1adrianb / face-alignment-training

Training code for the networks described in "How far are we from solving the 2D & 3D Face Alignment problem? (and a dataset of 230,000 3D facial landmarks)" paper.
https://www.adrianbulat.com/face-alignment
Other
144 stars 48 forks source link

Error in building dataset, confusion on training data directory structure? #17

Open joseph-zhong opened 6 years ago

joseph-zhong commented 6 years ago

Hi, thanks for posting the code for the face alignment training, really appreciate the awesome work!

I'm trying to simply recreate the training results for my own understanding, although I'm having trouble understanding the initial instructions

I've downloaded the LS3D-W dataset from https://adrianbulat.com/face-alignment and after untarring I see a directory with

images/ 
|---- 300VW-3D
|---- 300VW-Testset-3D
|---- AFLW2000-3D-Reannotated
|---- Menpo-3D 
|---- plot.lua
|---- Readme.txt

After downloading the landmarks.zip from https://www.adrianbulat.com/downloads/FaceAlignment/landmarks.zip

Here's where I begin to get confused... When I unzip the folder I get

landmarks/
|---- AFW  
|---- HELEN  
|---- IBUG  
|---- LFPW

Firstly, when I run th main.lua, what exactly is the path_to_300W_LP_dataset? From the names I'm unsure which is the correct directory. Furthermore, the directory searching code within dataloader.lua at DataLoader.getDataFaces(opt, split) fails to correctly build the dataset?

Perhaps I've downloaded the wrong directory, or have misunderstanding on which dataset to be downloading?

Thanks in advance for the clarification, Joseph

ghost commented 5 years ago

I meet the same problem.Have you solved it?

WaterCube001 commented 5 years ago

I also met the same problem ... maybe the dataset has been updated. I am trying to figure it out.

WaterCube001 commented 5 years ago

Hi I just ran the training code successfully. For the directory issue, you really downloaded a wrong one. 300W-LP should be downloaded on the original author’s homepage, this one: http://www.cbsr.ia.ac.cn/users/xiangyuzhu/projects/3DDFA/main.htm.