yfeng95 / PRNet

Joint 3D Face Reconstruction and Dense Alignment with Position Map Regression Network (ECCV 2018)
http://openaccess.thecvf.com/content_ECCV_2018/papers/Yao_Feng_Joint_3D_Face_ECCV_2018_paper.pdf
MIT License
4.95k stars 947 forks source link

dlopen: cannot load any more object with static TLS #109

Open zhubinQAQ opened 5 years ago

zhubinQAQ commented 5 years ago

here is the details: File "/home/zb/3Dface/PRNet/api.py", line 23, in init import dlib ImportError: dlopen: cannot load any more object with static TLS

when I change the detector, this problem still exists.

File "/usr/local/lib/python3.5/dist-packages/torch/init.py", line 78, in from torch._C import * ImportError: dlopen: cannot load any more object with static TLS

zhubinQAQ commented 5 years ago

I fix it but I don't know how it works. I put import dlib at the beginning of api.py