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

fb.python, import matplotlib.pyplot segfault #39

Closed
ketan4373 opened this issue Jan 6, 2018 · 3 comments
Closed

fb.python, import matplotlib.pyplot segfault #39

ketan4373 opened this issue Jan 6, 2018 · 3 comments

Comments

@ketan4373
Copy link

@AaronJackson I am getting this.
"Fatal Python error: GC object already tracked
[1] 25262 segmentation fault (core dumped) th test.lua"

where test.lua is file that I made by running one by one every line of utils.lua file.

I found out that "import matplotlib.pyplot as plt" causes this and no matter what I do this just stays same.
Sometimes it also gives
"Fatal Python error: ceval: tstate mix-up
[1] 25302 abort (core dumped) th test.lua"

I have also tried "https://github.com/1adrianb/thpp" but still no good.

I am on cuda 8.0 and cudnn is libcudnn.so.7.

I can also import all require torch packages like cunn, cudnn.

@AaronJackson
Copy link
Owner

If you can't import matplotlib it's not an issue with VRN but your Python setup. Other than reinstalling matplotlib (perhaps in a Python vritualenv) I can't help you. For the face alignment code, matplotlib is not used anyway, so you could probably just remove that line from the code.

I doubt VRN will work with CuDNN 7.0, you may need to use 5.1.

@repletetop
Copy link

function FaceDetector:detect(img)

print("detections:",detections)
print(type(detections))

detections: [array([117, 142, 340, 365])]
userdata
detectedfaces [array([117, 142, 340, 365])]

@repletetop
Copy link

how to get data

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

3 participants