-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using tensorflow.contrib with cv_bridge causes tcmalloc error #161
Comments
The solution was to switch the order of imports:
Nevertheless, this is clearly a bug. |
Ok. I did a little more digging and I found this line in my export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4" Commenting this out solved the problem. I'm not really sure which of the three libraries that were involved would be responsible, but it might be good to include a more informative error message. |
ok, that is a tough one that really depends on your setting. What does libtcmalloc_minimal do ? Is OpenCV linked to it ? |
Environment info
Operating System:
Minimal reproducible example.
This throws the following error:
I've also posted to the tensorflow page (tensorflow/tensorflow#8146)
What other attempted solutions have you tried?
I tried reinstalling ros and tensorflow. No change. I also tried
print(cv_bridge.__file__)
to make sure I was importing the right directory forcv_bridge
.The text was updated successfully, but these errors were encountered: