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
training error after 80000 iteration, only get zf_rpn_stage1_iter_80000.caffemodel and zf_rpn_stage1_iter_80000_proposals.pkl #626
Comments
Can you provide the whole error logs? |
The error is as follows: Process Process-3: |
Try to change line 100, in from to |
@eugene123tw thank you very much for your kindness and patience. I follow your comment, the error is removed. However, another error appears: |
@eugene123tw I search for some materials which shows the problem is caused by the numpy, however, the following error appears after install numpy-1.11.0: |
I setup Faster-RCNN using Python 2.7 and followed the installation guide. Can you provide me your setup? |
Did you install cython? |
@eugene123tw cython has been installed. My configuration is ubuntu16.04, cuda 8.0, cudnn 5.1, python2.7. My setup combines mutiple installing guides. I find that the main issue is numpy, the code seems to be unfriendly with numpy-1.13.1.? @rbgirshick |
@eugene123tw thank you very much. I find a possible error in makefile.confiure. You are really helpful. My QQ number is 729887877 |
@nanzhixiong I am glad it helped you. If you think the issue is solved, you can close it. Sorry, I don't have QQ. But you can add my LinkedIn or Facebook. |
The problem is solved under the help of @eugene123tw. solution: line 110 line 124 after line 175 potential cause: when appearing "TypeError: 'numpy.float64' object cannot be interpreted as an index" |
I modified it according to your method.However,the following error appears:TypeError: slice indices must be integers or None or have an index method |
completely right @nanzhixiong ,thx |
I am training a ZF model using voc 2007, appearing the error "TypeError: 'numpy.float64' object cannot be interpreted as an index" after 8000 iteration (with zf_rpn_stage1_iter_80000.caffemodel and zf_rpn_stage1_iter_80000_proposals.pkl finished).
I find the problem is caused by numpy , therefore, I install the numpy-1.11 by "sudo pip install -U numpy==1.11.0". however, another error "ImportError: numpy.core.multiarray failed to import" appears. This error can be solved by using "pip install -U numpy", which uninstall the numpy-1.11 and install the numpy-1.13.
The most boring problem is numpy-1.13 will agagin result in the error "TypeError: 'numpy.float64' object cannot be interpreted as an index" after 8000 iteration.
have someone met the same problem? how to solve it ? thanks
The text was updated successfully, but these errors were encountered: