MultiNet
MultiNet copied to clipboard
error running in train_utils.py and work around
error on running.
python demo.py --gpus 0 --input data/demo/um_000005.png
*********************************************************************train_utils.py: commented out if use_stitching
File "demo.py", line 413, in <module>
tf.app.run()
File "/home/richard/.virtualenvs/cvp3/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "demo.py", line 364, in main
min_conf=0.50, tau=subhypes['detection']['tau'])
File "/home/richard/opencv3-p3-code/not_working_yet/MultiNet/submodules/KittiBox/incl/utils/train_utils.py", line 103, in add_rectangles
from stitch_wrapper import stitch_rects
ImportError: ./submodules/KittiBox/submodules/utils/stitch_wrapper.so: undefined symbol: _Py_ZeroStruct
got around this by commenting out lines in train_utils.py
#if use_stitching:
# from stitch_wrapper import stitch_rects
# acc_rects = stitch_rects(all_rects, tau)
#else:
acc_rects = all_rects_r
Looks like a linking error. Have you tried running make again? Or use a different gcc / cython version.
@MarvinTeichmann , I tried running make again. However, it didn't work.
I tried this suggestion as well: https://github.com/Russell91/TensorBox/issues/34. It too didn't work out.