AttributeError: 'module' object has no attribute 'roi_pool'
namangt68 opened this issue · comments
Naman Gupta commented
Getting below error when using demo function from demo.py for inference of 2nd different trained model in same python script(i.e roi_pooling.so library is loaded twice).
Reference resolved issue in tensorflow when same custom op library is loaded twice.
Not able to find where roi_pool attribute is deleted after inference of one model.
File "lib/roi_pooling_layer/roi_pooling_op.py", line 6, in
roi_pool = _roi_pooling_module.roi_pool
AttributeError: 'module' object has no attribute 'roi_pool'
Demo works fine when using single model.
Cheng Wang commented
got the same problem. Hi, bro, do you solve it?