Faster-RCNN_TF
Faster-RCNN_TF copied to clipboard
NameError: name 'roi_pooling_op' is not defined
python3.6 + tensorflow 1.2 + cuda-8.0 How can I modify the make.sh to fit my settings? Need help :(
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./tools/train_net.py", line 112, in
This repository is python2.7 compatible. Did you try converting it to python3 before compiling?
That maybe a problem of import which is different between Python2 and 3. Try to use script 2to3 in python to convert the whole project before debugging if you want to run it with python3.
Here's an example in the begining of lib/roi_pooling_layer/roi_pooling_op_grad.py:
original code:
# import roi_pooling_op
after converting:
from . import roi_pooling_op
Anyway, you can refer to my repository which is converted to python3 and works in TF 1.6