Skip to content
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

how to deal with the bug of make.sh #16

Closed
liye228 opened this issue Apr 14, 2018 · 6 comments
Closed

how to deal with the bug of make.sh #16

liye228 opened this issue Apr 14, 2018 · 6 comments

Comments

@liye228
Copy link

liye228 commented Apr 14, 2018

Hi !@ruinmessi
I run the ./make.sh
but get
g++ -pthread -shared -B /home/liye/anaconda3/compiler_compat -L/home/liye/anaconda3/lib -Wl,-rpath=/home/liye/anaconda3/lib,--no-as-needed build/temp.linux-x86_64-3.6/nms/nms_kernel.o build/temp.linux-x86_64-3.6/nms/gpu_nms.o -L/usr/local/cuda-8.0/lib64 -L/home/liye/anaconda3/lib -R/usr/local/cuda-8.0/lib64 -lcudart -lpython3.6m -o /media/ubuntue/extdisk1/liye/RFBNet-master/utils/nms/gpu_nms.cpython-36m-x86_64-linux-gnu.so
g++: error: unrecognized command line option ‘-R’
error: command 'g++' failed with exit status 1

why?
can you help me?

@liye228 liye228 changed the title from .nms.gpu_nms import gpu_nms ModuleNotFoundError: how to deal with the bug of make.sh Apr 14, 2018
@GOATmessi8
Copy link
Owner

@liye228 what is your version of gcc and cython?

@liye228
Copy link
Author

liye228 commented Apr 14, 2018

hello!
@ruinmessi
I have solved the problem I have mentioned.
But now, I get another problem!
It is that I use your code and your model (RFB_mobile_20_7.pth) to generate the 2015 test-dev result. (for coco). Then I change the results' name and submit it to COCO 2017test-dev but submit failed!
The images of 2017test-dev and 2015test-dev are the same, so I think it is ok to submit the result to 2017test-dev. Can you submit your results to COCO 2017test-dev successfully?
the error message as follow:
Error:
/opt/conda/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
Traceback (most recent call last):
File "/tmp/codalab/tmpjZ8joP/run/program/run.py", line 72, in
resFile = os.path.join(resDir, resFiles[0])
IndexError: list index out of range

@GOATmessi8
Copy link
Owner

emmmm....I think you may ask for help in the form of COCO codelab. For my submission, I just zip the result json file and then submit it to the server, and every thing works well.

@liye228
Copy link
Author

liye228 commented Apr 14, 2018

can you give me your 2015test-dev result,i want to check my results。thanks ,my email:670816416@qq.com

@20143698lhy
Copy link

hello!
@ruinmessi
can you tell me what is your version of gcc and cython?
thanks

@dodogoffy
Copy link

@liye228 I meet the same problem.
command 'gcc' failed with exit status 1
And how do you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants