Comments (11)
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.
@PFCM I f****** love you!
from sonnet.
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.
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.
from sonnet.
@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.
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.
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.
PFCM's solution worked for me.
from sonnet.
@PFCM Cool! I have installed sonnet almost 10 times, all failed, untill now. thank you.
from sonnet.
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)
- how to remove model from gpu memory? HOT 1
- Understanding how to use mixed precision training HOT 2
- Conv2D initialize error in tf function
- Typo HOT 1
- this portion of attention code looks incorrect
- Cannot install sonnet on mac m1 HOT 5
- Decaying learning rate HOT 1
- Can you explain the logic of updated_ema_cluster_size in VectorQuantizerEMA?
- Convert a Sonnet model to a Keras model HOT 1
- (Maybe) in-consistency between VQ-VAE paper and its implementation. HOT 2
- Regarding LearningRateSchedule for ADAM optimizer HOT 2
- Learning rate and optimizer used for the VQ-VAE-2 paper HOT 2
- I have a question about the perplexity term (in the VQ-VAE). HOT 2
- Issues using Sonnet HOT 3
- How to save the checkpoint for self-defined model?
- TensorArray Not Used on line 71 of sgd_test.py HOT 2
- Is there a stereotypical way to visualize the network strucuture when using Sonnet? HOT 1
- sonnet abstract module in tensorflow2 HOT 10
- Laplace smoothing for EMA codebook update
- Basic import fails on Colab: cannot import name 'context' from 'tensorflow.python' HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonnet.