tensorflow / fold

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

Mac OS X support #3

Closed yohokuno closed 7 years ago

yohokuno commented 7 years ago

Can I use it on Mac OS X? I'm on El capitan 10.11.6.

delesley commented 7 years ago

Probably, although we haven't verified it. We're a very small team, so there's no way we can test and distribute for every platform. However, feel free to compile from source, and let us know if you run into any problems.

yohokuno commented 7 years ago

@delesley Thank you for replying me.

I have no experience in bazel but I got the following error when running bazel command on top directory.

Unexpected error reading .blazerc file '/Users/yookuno/src/fold/tensorflow/tools/bazel.rc'

I gave up Mac and switched to Ubuntu eventually.

illegalplumbing commented 7 years ago

Anyone got it working ? I am getting "pointer being freed was not allocated" exception when loading tensorflow_fold. Tensorflow itself works fine (no GPU setup)

here is what lldb prints out: ... frame #15: 0x0000000105f6f3b1 _pywrap_tensorflow.sotensorflow::internal::LoadLibrary(char const*, void**) + 49 frame #16: 0x0000000105f6e944 _pywrap_tensorflow.sotensorflow::(anonymous namespace)::PosixEnv::LoadLibrary(char const*, void*) + 20 frame #17: 0x0000000105e91563 _pywrap_tensorflow.so`tensorflow::LoadLibrary(char const, void, void const, unsigned long) + 1075 frame #18: 0x000000010443ed74 _pywrap_tensorflow.soTF_LoadLibrary + 52 frame #19: 0x0000000104360222 _pywrap_tensorflow.so_wrap_TF_LoadLibrary(_object, ...

Thank you ! IP

pkuso commented 7 years ago

I met the same issue @illegalplumbing ~ any solutions so far?