Code Monkey home page Code Monkey logo

Comments (11)

PFCM avatar PFCM commented on August 19, 2024 14

I'm also getting this as per @thesilencelies. Tried tensorflow 1.1.0, then 1.1.0-rc2 when that didn't work. In both cases ldd on the produced _resampler.so shows:

        linux-vdso.so.1 =>  (0x00007ffe9c52b000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f87868d3000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f87866b5000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f878632d000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8786116000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8785d4f000)
        /lib64/ld-linux-x86-64.so.2 (0x000055b1b0e70000)

ie. it doesn't look as if the op library is being linked to anything tensorflow related? Using bazel 0.4.5 on ubuntu 17.10 if it helps.

Forget about this.

Fixed it by building Sonnet with

bazel build --config=opt --copt="-D_GLIBCXX_USE_CXX11_ABI=0" :install

I believe the issue was that Tensorflow was being built with GCC 4.x while Sonnet was using the system default which is >= 5.

from sonnet.

urosjarc avatar urosjarc commented on August 19, 2024 1

@PFCM I f****** love you!

from sonnet.

thesilencelies avatar thesilencelies commented on August 19, 2024

I checked out the 1.1 branch of tensorflow in the one in the sonnet tree, compiled tensorflow from that (which works), then rebuilt sonnet. However I still get the above error for _ZN10tensorflow8internal21checkOpMessageBuilder9NewString. I had the warning mentioned in #16 during build.
I guess I did something wrong, but I'm a little unsure how to implement the solution mentioned above...

from sonnet.

bgavran avatar bgavran commented on August 19, 2024

I have the same problem as @thesilencelies. I did a git pull in sonnet/tensorflow after which I followed the sonnet installation instructions, but I still get the _resampler.so: undefined symbol error

from sonnet.

animesh avatar animesh commented on August 19, 2024

from sonnet.

Jazyy avatar Jazyy commented on August 19, 2024

@animesh I faced the same error and followd your ways , but I still get the _resampler.so: undefined symbol error .I guess that there might some steps were wrong in this process.

from sonnet.

animesh avatar animesh commented on August 19, 2024

yeah i can imagine, there are many gotchas in setting this beast... for starter, what is your environment like? things like operating system, java, python, tensorflow and bazel versions? are you able to run everything else except sonnet?

from sonnet.

llbuaa2015 avatar llbuaa2015 commented on August 19, 2024

use tensorflow 1.1.0-rc2 replacing the sonnet/tensorflow if 1.1.0-rc2 is used and
bazel build --config=opt --genrule_strategy=standalone --spawn_strategy=standalone :install
this works for me !

from sonnet.

thesilencelies avatar thesilencelies commented on August 19, 2024

PFCM's solution worked for me.

from sonnet.

hyperji avatar hyperji commented on August 19, 2024

@PFCM Cool! I have installed sonnet almost 10 times, all failed, untill now. thank you.

from sonnet.

malcolmreynolds avatar malcolmreynolds commented on August 19, 2024

Anyone still having trouble - please see #56 - there are preliminary Wheel files available on PyPI. Please try to install and let us know how you get on.

from sonnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.