Closed curiosityyy closed 4 years ago
when I import tfdlpack, I got this error.
What's the version of your tensorflow?
tensorflow-estimator 2.0.1 tensorflow-gpu 2.0.0 tfdlpack-gpu 0.1
Minjie Wang notifications@github.com 于2019年12月12日周四 下午11:15写道:
What's the version of your tensorflow?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/VoVAllen/tf-dlpack/issues/8?email_source=notifications&email_token=AGYIXXUYXZSXVCVPDHG5MTTQYJIRTA5CNFSM4JZ7W2BKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGW7OVQ#issuecomment-565049174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGYIXXR4URFVBD5OEXVPZKDQYJIRTANCNFSM4JZ7W2BA .
(dgl-tf) byli@proj55:~/.conda/envs/dgl-tf/lib/python3.7/site-packages/tfdlpack$ ldd /data/home/byli/.conda/envs/dgl-tf/lib/python3.7/site-packages/tfdlpack/libtfdlpack.so linux-vdso.so.1 (0x00007ffeda526000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007faf17db8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007faf17bb4000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007faf179ac000) libtensorflow_framework.so.2 => not found libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007faf17623000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007faf1740b000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faf1701a000) /lib64/ld-linux-x86-64.so.2 (0x00007faf18269000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007faf16c7c000)
I change the LD_LIBRARY_PATH, and now libtensorflow_framework.so.2 is found. But the error still occurs.
@curiosityyy The problem should be fixed in #9 and a new release v0.1.1 has been pushed. Please upgrade tfdlpack and let us know if anything is wrong.
Thanks. Now it works.
This problem still occurs with v0.1.3, anyway solved by reinstalling tensorflow with pip rather than conda.
@kimjh12 dlpack is now supported in the official tensorflow. You can get it by tf.experimental.dlpack.to_dlpack/from_dlpack
. I suggest using the latest nightly build, or at least 2.2 version.
(dgl-tf) byli@proj55:~/dgl/examples/tensorflow/gcn$ python Python 3.7.5 (default, Oct 25 2019, 15:51:11) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.