The output window - result only shows the face image when index is given without alignment data on the images.
I tried to print the values of current_shape inside the last for loop in TestDemo.cpp as
cout<<current_shape(i,0)<<"\t"<<current_shape(i,1)<<"\n";
but, all this prints is - nan
so, I thought that something is wrong with the given model, and I decided to train on my own. I have trained on the training set provided in COFW dataset. It took about 30mins to train. Now, when I try to test this model with the same test code (with updated paths to the new model), I keep getting segmentation fault whenever I access current_shape(i,0) and current_shape(i,1).
Let me know what further can be done to fix this issue.
Firstly, I tried to test your code with the trained model provided which was already provided here https://drive.google.com/file/d/0B0tUTCaZBkccOGZTcjJNcDMwa28/edit?usp=sharing
but, I ran into a couple of issues :
so, I thought that something is wrong with the given model, and I decided to train on my own. I have trained on the training set provided in COFW dataset. It took about 30mins to train. Now, when I try to test this model with the same test code (with updated paths to the new model), I keep getting segmentation fault whenever I access current_shape(i,0) and current_shape(i,1).
Let me know what further can be done to fix this issue.