yuxng / PoseCNN

A Convolutional Neural Network for 6D Object Pose Estimation in Cluttered Scenes
https://rse-lab.cs.washington.edu/projects/posecnn/
MIT License
761 stars 245 forks source link

ImportError: undefined symbol: PyUnicode_AsUTF8String when use ./experiments/scripts/lov_color_2d_train.sh 0 #109

Closed hatimwen closed 4 years ago

hatimwen commented 4 years ago

When I used ./experiments/scripts/lov_color_2d_train.sh 0, it told me this error:

Traceback (most recent call last): File "./tools/train_net.py", line 303, in import libsynthesizer ImportError: /usr/local/lib/libboost_python27.so.1.67.0: undefined symbol: PyUnicode_AsUTF8String

Have anyone met this error? If so, how did you solve this? Thanks!

Kaju-Bubanja commented 4 years ago

Feel free to have a look at my master thesis, especially the appendix section A.1.1. It explains the causes of this error and how to fix it. I think the appendix might be valuable in general for trying to get to run posecnn. You can find my thesis Textureless, Symmetric, Multiple Instances 6D Pose Estimation in Cluttered Scenes Using RGB-D Data here.

hatimwen commented 4 years ago

@Kaju-Bubanja Thanks a lot! I will try to figure out with your help! Thanks again! 👍 、