-
Notifications
You must be signed in to change notification settings - Fork 416
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
error when running the demo #2
Comments
Hi, @xinghedyc , I think you first should go to ./lib/ dir and run |
Maybe, you should edit the g++ config according to your platform to ensure the roi_pooing.so is correct. |
@CharlesShang thanks for your reply, but the make command seems right to generate roi_pooing.so. |
1 similar comment
@CharlesShang thanks for your reply, but the make command seems right to generate roi_pooing.so. |
It happened to me too, the roi_pooing.so seems all right, but it just could not work. |
@CharlesShang thanks a lot, but your link to download the roi_pooling_so seems unreachable? |
Try this link so version |
@CharlesShang it's embarrassingto say that the same error occurs when using your .so file. |
python faster_rcnn/demo.py VGGnet_fast_rcnn_iter_70000.ckpt |
I googled it, found: GPflow/GPflow#173 I've already push the fixed make.sh to master branch, you can go to TFFRCNN root dir and run |
If it does not work, try to install a different version of g++, via |
@CharlesShang thanks very much for your help! |
Glad to hear that. Maybe we've found out the real solution to this kind of issue |
for gcc5, simply add this to compile flag "-D_GLIBCXX_USE_CXX11_ABI=0", then it will work fine. It's documented issue by tensor flow: https://www.tensorflow.org/versions/r0.10/how_tos/adding_an_op/index.html, search for "gcc5". |
@jwnsu Thanks for your helpful discussion. Learned a lot . |
update as:
|
Hi, |
@nsivaramakrishnan I got the same problem like yours when running on CPU. Do you have any luck to solve this issue? |
@nsivaramakrishnan @chaochaow This looks like a missing tensorflow symbol. |
GPU version does not have this problem |
Hi, I meet error when running the demo.
Traceback (most recent call last):
File "faster_rcnn/demo.py", line 12, in
from lib.networks.factory import get_network
File "/home/dyc/workspace/TFFRCNN/lib/networks/init.py", line 8, in
from .VGGnet_train import VGGnet_train
File "/home/dyc/workspace/TFFRCNN/lib/networks/VGGnet_train.py", line 2, in
from network import Network
File "/home/dyc/workspace/TFFRCNN/lib/networks/network.py", line 4, in
from ..roi_pooling_layer import roi_pooling_op as roi_pool_op
File "/home/dyc/workspace/TFFRCNN/lib/roi_pooling_layer/init.py", line 7, in
import roi_pooling_op
File "/home/dyc/workspace/TFFRCNN/lib/roi_pooling_layer/roi_pooling_op.py", line 5, in
_roi_pooling_module = tf.load_op_library(filename)
File "/home/dyc/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 63, in load_op_library
raise errors._make_specific_exception(None, None, error_msg, error_code)
tensorflow.python.framework.errors.NotFoundError: /home/dyc/workspace/TFFRCNN/lib/roi_pooling_layer/roi_pooling.so: undefined symbol: _ZN10tensorflow7strings6StrCatB5cxx11ERKNS0_8AlphaNumE
The text was updated successfully, but these errors were encountered: