face-alignment-training icon indicating copy to clipboard operation
face-alignment-training copied to clipboard

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

Open joseph-zhong opened this issue 6 years ago • 3 comments

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

joseph-zhong avatar Mar 28 '18 03:03 joseph-zhong

I meet the same problem.Have you solved it?

ghost avatar May 02 '19 08:05 ghost

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

WaterCube001 avatar Aug 25 '19 08:08 WaterCube001

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.

WaterCube001 avatar Aug 26 '19 03:08 WaterCube001