Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault in test code #22

Open
ghost opened this issue Sep 18, 2015 · 1 comment
Open

Segmentation Fault in test code #22

ghost opened this issue Sep 18, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 18, 2015

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 :

  1. The output window - result only shows the face image when index is given without alignment data on the images.
  2. 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.

@ghost
Copy link

ghost commented Feb 21, 2018

Have you fixed it? I met the same problem and I don't think he fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants