flownet2-tf: tensorflow.python.framework.errors_impl.NotFoundError

python3 -m src.flownet2.test --input_a data/samples/0img0.ppm --input_b data/samples/0img1.ppm --out ./
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/chuchienshu/tensorflowcode/newflownet/flownet2-tf/src/flownet2/test.py", line 4, in <module>
    from .flownet2 import FlowNet2
  File "/home/chuchienshu/tensorflowcode/newflownet/flownet2-tf/src/flownet2/flownet2.py", line 2, in <module>
    from ..flownet_css.flownet_css import FlowNetCSS
  File "/home/chuchienshu/tensorflowcode/newflownet/flownet2-tf/src/flownet_css/flownet_css.py", line 2, in <module>
    from ..flownet_cs.flownet_cs import FlowNetCS
  File "/home/chuchienshu/tensorflowcode/newflownet/flownet2-tf/src/flownet_cs/flownet_cs.py", line 2, in <module>
    from ..flownet_c.flownet_c import FlowNetC
  File "/home/chuchienshu/tensorflowcode/newflownet/flownet2-tf/src/flownet_c/flownet_c.py", line 3, in <module>
    from ..correlation import correlation
  File "/home/chuchienshu/tensorflowcode/newflownet/flownet2-tf/src/correlation.py", line 4, in <module>
    tf.resource_loader.get_path_to_datafile("./ops/build/correlation.so"))
  File "/home/chuchienshu/.local/lib/python3.5/site-packages/tensorflow/python/framework/load_library.py", line 64, in load_op_library
    None, None, error_msg, error_code)
tensorflow.python.framework.errors_impl.NotFoundError: /home/chuchienshu/tensorflowcode/newflownet/flownet2-tf/src/./ops/build/correlation.so: undefined symbol: _ZN10tensorflow15shape_inference16InferenceContext8WithRankENS0_11ShapeHandleExPS2_

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Reactions: 13
  • Comments: 15 (1 by maintainers)

Most upvoted comments

Comment out this part of line 56 in the makefile : “-D_GLIBCXX_USE_CXX11_ABI=0”. That works for Tensorflow 1.3, cuda 9, titan v