ipython train.py -- --memory_size=64 --num_bits=8 --max_length=3 NotFoundError
haoran8899 opened this issue · comments
ipython train.py -- --memory_size=64 --num_bits=8 --max_length=3
NotFoundError Traceback (most recent call last)
/usr/lib/python2.7/dist-packages/IPython/utils/py3compat.pyc in execfile(fname, *where)
202 else:
203 filename = fname
--> 204 builtin.execfile(filename, *where)
/usr/cep/np/dnc/train.py in ()
20
21 import tensorflow as tf
---> 22 import sonnet as snt
23
24 import dnc
/usr/local/lib/python2.7/dist-packages/sonnet/init.py in ()
100 from sonnet.python.ops import nest
101 from sonnet.python.ops.initializers import restore_initializer
--> 102 from sonnet.python.ops.resampler import resampler
103 from sonnet.python.ops.resampler import resampler_is_available
/usr/local/lib/python2.7/dist-packages/sonnet/python/ops/resampler.py in ()
31 # Link the shared object.
32 _resampler_so = tf.load_op_library(
---> 33 tf.resource_loader.get_path_to_datafile("_resampler.so"))
34
35
/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/load_library.pyc in load_op_library(library_filename)
62 # pylint: disable=protected-access
63 raise errors_impl._make_specific_exception(
---> 64 None, None, error_msg, error_code)
65 # pylint: enable=protected-access
66 finally:
NotFoundError: /usr/local/lib/python2.7/dist-packages/sonnet/python/ops/_resampler.so: undefined symbol: ZN10tensorflow15shape_inference16InferenceContext15WithRankAtLeastENS0_11ShapeHandleExPS2
Hi this issue mostly related sonnet installation. Please follow the steps given here to reinstall sonnnet.
I am going to close. As @sathishreddy says this is an issue with a dependency and not the dnc code itself.