tensorflow / fold

Deep learning with dynamic computation graphs in TensorFlow
Apache License 2.0
1.82k stars 266 forks source link

About the support for tensorflow 1.2.1 #72

Open penelope24 opened 6 years ago

penelope24 commented 6 years ago

um...As I found in the previous issue, the fold does not support for tensorflow v1.2 right now. So I'd like to know when will it be v1.2 supported? I've tried to install tensorflow v1.0 on my computer but it's pretty hard for the official site does not provide the v1.0 wheels and the default installation method is v1.2. So it's kind of awkward, I wonder if there is a way that can make me using this fold right now?

EgorBu commented 6 years ago

Hi, I think that it's the same issue for me. After following instruction for installation of tensorflow/fold I got:

>>> import tensorflow; tensorflow.__version__
'1.2.1'
>>> import tensorflow_fold
---------------------------------------------------------------------------
NotFoundError                             Traceback (most recent call last)
<ipython-input-2-a22851c9dcc2> in <module>()
----> 1 import tensorflow_fold

/usr/local/lib/python3.5/dist-packages/tensorflow_fold/__init__.py in <module>()
     20 
     21 # pylint: disable=wildcard-import, unused-import
---> 22 from tensorflow_fold.blocks.block_compiler import *
     23 from tensorflow_fold.blocks.blocks import *
     24 from tensorflow_fold.blocks.layers import *

/usr/local/lib/python3.5/dist-packages/tensorflow_fold/blocks/block_compiler.py in <module>()
     26 from six.moves import xrange  # pylint: disable=redefined-builtin
     27 import tensorflow as tf
---> 28 from tensorflow_fold.blocks import loom_ops
     29 from tensorflow_fold.blocks import result_types as tdt
     30 from tensorflow_fold.blocks import util

/usr/local/lib/python3.5/dist-packages/tensorflow_fold/blocks/loom_ops.py in <module>()
     17 from __future__ import print_function
     18 # import google3
---> 19 import tensorflow_fold.blocks.result_types as tdt
     20 from tensorflow_fold.public import loom
     21 

/usr/local/lib/python3.5/dist-packages/tensorflow_fold/blocks/result_types.py in <module>()
     25 from six.moves import zip  # pylint: disable=redefined-builtin
     26 import tensorflow as tf
---> 27 from tensorflow_fold.public import loom
     28 
     29 

/usr/local/lib/python3.5/dist-packages/tensorflow_fold/public/loom.py in <module>()
     15 
     16 # pylint: disable=wildcard-import, unused-import
---> 17 from tensorflow_fold.loom.loom import *
     18 # pylint: enable=wildcard-import, unused-import

/usr/local/lib/python3.5/dist-packages/tensorflow_fold/loom/__init__.py in <module>()
     15 
     16 # pylint: disable=wildcard-import, unused-import
---> 17 from tensorflow_fold.loom.loom import *
     18 # pylint: enable=wildcard-import, unused-import

/usr/local/lib/python3.5/dist-packages/tensorflow_fold/loom/loom.py in <module>()
     34 import tensorflow as tf
     35 
---> 36 from tensorflow_fold.loom import deserializing_weaver_op
     37 from tensorflow_fold.loom import loom_pb2
     38 from tensorflow_fold.loom import pywrapweaver

/usr/local/lib/python3.5/dist-packages/tensorflow_fold/loom/deserializing_weaver_op.py in <module>()
     32 
     33 _deserializing_weaver = tf.load_op_library(os.path.join(
---> 34     tf.resource_loader.get_data_files_path(), '_deserializing_weaver_op.so'))
     35 deserializing_weaver = _deserializing_weaver.deserializing_weaver
     36 

/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/load_library.py 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/python3.5/dist-packages/tensorflow_fold/loom/_deserializing_weaver_op.so: undefined symbol: _ZN10tensorflow6tensor5SplitERKNS_6TensorERKNS_3gtl10ArraySliceIxEE