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
145 stars 48 forks source link

How can I test my model in this repo? #3

Closed samaonline closed 7 years ago

samaonline commented 7 years ago

It seems when I test the model, it requires t7 file.

1adrianb commented 7 years ago

Hi @samaonline, This repo is only for training. You can test your trained model using this code: https://github.com/1adrianb/2D-and-3D-face-alignment Sorry for having them slipted like this,

samaonline commented 7 years ago

Thanks! Actually I changed the # of predicted key points from 68 to 6. Where can I modify in the test repo so that the architecture is the same as I used in training?

1adrianb commented 7 years ago

Just replace all the reference of 68 to 6 in the project and modify the plot function to reflect the new number of points https://github.com/1adrianb/2D-and-3D-face-alignment/blob/fc4d29999a1f0b8a833805bfe437bd32df886242/utils.lua#L191