PoseCNN
PoseCNN copied to clipboard
ImportError: No module named libsynthesizer
When I tried to run the training demo
./experiments/scripts/lov_color_2d_train.sh $GPU_ID
there was the following error:
File "./tools/train_net.py", line 303, in <module>
import libsynthesizer
ImportError: No module named libsynthesizer
So I tried to compile setup.py
python setup.py build_ext --inplace
but it failed because of missing synthesizer.hpp:
synthesize/synthesizer.cpp:588:27: fatal error: synthesizer.hpp: No such file or directory
compilation terminated.
(There's only synthesize.hpp in $ROOT/lib/synthesize/ but no synthesizer.hpp)
Is the synthesizer.hpp missing / could you please add the file to the github repository? Or is there another solution to this problem? Thanks for help.
I am running into the same issue though. Were you able to resolve this?
libsynthesizer is compiled from lib/synthesize. If you do not use synthetic data for training or ICP in testing, there is no need to use the library. If you want to use it, compile it and then export PYTHONPATH=$PYTHONPATH:$ROOT/lib/synthesize/build"
libsynthesizer compiles successfully but when trying to use demo.py with depth images (in order to try ICP), I get the following error :
AttributeError: 'module' object has no attribute 'Synthesizer'